Get the latest tech news
cppyy: Automatic Python-C++ Bindings
cppyy: Automatic Python-C++ bindings
Run-time generation enables detailed specialization for higher performance, lazy loading for reduced memory use in large scale projects, Python-side cross-inheritance and callbacks for working with C++ frameworks, run-time template instantiation, automatic object downcasting, exception mapping, and interactive exploration of C++ libraries. cppyy is based on Cling, the C++ interpreter, to match Python’s dynamism, interactivity, and run-time behavior. It makes judicious use of precompiled headers, dynamic loading, and lazy instantiation, to support C++ programs consisting of millions of lines of code and many thousands of classes.
Or read this on Hacker News