Re:Pybind11 — Seamless operability between C++11 and Python
by fulafel on Saturday August 26, 2017 @02:56AM
(#15104403)
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.
[ Parent
| on HN ]
Re:Pybind11 — Seamless operability between C++11 and Python
by kazinator on Saturday August 26, 2017 @10:20AM
(#15105559)
Unless 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
under the heading "Creating bindings for a simple function".
Looks like FFI to me.