4 ms·
I disagree that this is a FFI. There's are FFIs for Python, the builtin one is called ctypes, and users know it's an exception to Python's safety. Modules imple
by fulafel 9y ago
I disagree that this is a FFI. There's are FFIs for Python, the builtin one is called ctypes, and users know it's an exception to Python's safety. Modules implemented in C++ and presenting functionality to Python programs in a native way are expected to be safe.
- kazinator 9y agoUnless I'm mistaken, the topic is Pybind11, which is a foreign binding mechanism. Being criticized is the example in its documentation: http://pybind11.readthedocs.io/en/master/basics.html http://pybind11.readthedocs.io/en/master/basics.html under the heading "Creating bindings for a simple function". Looks like FFI to me.