pybind11 offers significantly faster compilation and smaller binary sizes (e.g., 5.8x faster compile time, 5.4x smaller binaries for PyRosetta), a header-only design, and a cleaner, more modern C++ API compared to Boost.Python. [1, 3]
Open the full topic