Wrap C++ code in C, as the bridge to other scripting language like python, javascript. FFI can be used to automatic wrap C API into the target languages.
This is a sample project that wrap some functions from existing c-libraries. Cython, swig and cffi have been used to build the wrappers. A benchmark and a summary has been added to compare the ...
In our examination of the Python language so far we’ve looked at the basics, some of the advanced stuff and a few architectural elements. This week we’ll look at Python in practice. Back in the first ...