ffig
ffig copied to clipboard
Generate code to call C++ libraries from other languages
A clang daemon process will be added in llvm 5. It's in early development but FFIG should support it in time. I think it is possible to query clangd with...
See http://doc.pypy.org/en/latest/cppyy.html
Boost python can produce bindings for C++ code. Performance comparisons would be useful. http://www.boost.org/doc/libs/1_64_0/libs/python/doc/html/index.html also see https://pybind11.readthedocs.io/en/latest/ for a lightweight alternative to boost::python.
https://github.com/google/clif is similar to FFIG. It would be useful to compare differences and similarities and add notes to the README. Issues can be added for features that FFIG is missing.
Note D has some nuances with regards to linking shared libraries. See https://dlang.org/dll-linux.html.
I have no strong reason to think it will be better but cffi https://cffi.readthedocs.io/en/latest/overview.html could be used to create Python bindings. Maybe this would be interesting as proof-of-concept.
Running "./scripts/test-docker.py -t" on w windows machine produces the following error: Removing intermediate container fc8e1c1cd9c9 Successfully built c762a30b7264 SECURITY WARNING: You are building a Docker image from Windows against a...