This section of the manual covers in more detail how to write C++ and Python code and incorporate it into IMP.