Features
pythonbindingsinteropheader-only
Pros and Cons
Ventajas
- + Header-only and easy to use
- + Modern C++11 syntax
- + Automatic type conversion
- + NumPy support
- + Better performance than Boost.Python
Desventajas
- - Only Python 3.6+
- - Compilation can be slow
- - Cross-language debugging is complex
Use Cases
- Exposing C++ libraries to Python
- Accelerating Python code with C++
- Machine learning (PyTorch uses pybind11)
- Native library wrappers
- Data science with performance