Choosing a C++ to Python wrapper: Boost.Python vs pybind11?
I've built a code search tool as a terminal application in C++, and I'm now working on packaging it as a Python library. I need to create a Python wrapper for the C++ core.
My project already uses Boost, which has its own Python wrapper (Boost.Python). However, from what I've read, most people seem to be using pybind11.
For those who have experience with this, what are the pros and cons of the different options?
The search tool: https://github.com/perghosh/Data-oriented-design/releases/tag/cleaner.1.0.6
https://redd.it/1nsch76
@r_cpp
Post #23926
23