top | item 19850764

(no title)

hatred | 6 years ago

Does anyone know of any well known tools that generate bindings in other languages e.g., Python from C++ code?

IIUC, this tool does the opposite i.e., generate C++/other language bindings from Python

discuss

order

dangerbird2|6 years ago

The entirety of cpython’s runtime is exposed as a C api, so you can easily manipulate python objects in c or any language with a ffi. boost::python provides a c++ wrapper for cpython, which can be used to call both c/c++ in python and vice versa