2 ms·
I used to work with Boost.Python, until I discovered Cython, which works like a charm for me. What are the reasons to use Pybind11 over Cython?
by earthnail 11y ago
I used to work with Boost.Python, until I discovered Cython, which works like a charm for me. What are the reasons to use Pybind11 over Cython?
- aldanor 11y agoThe only benefit as I see it is it being very lightweight + providing tighter interop with C++ classes and C++11 shenanigans. For me personally, there're real reasons not to use it -- e.g., no support for structured/record arrays: https://github.com/pybind/pybind11/issues/67 https://github.com/pybind/pybind11/issues/67