Hasty Briefsbeta

Bilingual

cppyy: Automatic Python-C++ Bindings

10 months ago
  • #bindings
  • #Python
  • #C++
  • cppyy is an automatic, run-time Python-C++ bindings generator.
  • It enables calling C++ from Python and vice versa without boilerplate code.
  • Features include run-time template instantiation, lazy loading, and exception mapping.
  • Based on Cling, it matches Python's dynamism and interactivity.
  • Supports advanced C++ features like cross-inheritance and callbacks.
  • Works with both CPython (v2 and v3) and PyPy, achieving C++-like performance.
  • Minimizes dependencies for use in large-scale, distributed environments.
  • Includes examples of dynamic interaction between C++ and Python.
  • Supports Boost library features, demonstrating seamless C++ integration.
  • Encourages bug reports and feedback via an issue tracker.