3 ms·
This is similar to Nuitka in that it generates code that binds with the Python C API, so it's easy to get compatibility/interoperability. I have an old, abando
by zwegner 6y ago
This is similar to Nuitka in that it generates code that binds with the Python C API, so it's easy to get compatibility/interoperability.
I have an old, abandoned project that translates Python to C++ "from scratch", with no runtime dependencies beyond the STL[0]. It's very incomplete, and probably has plenty of bugs, but might be interesting for anybody looking for something more self-contained/embeddable. It has its own implementations of lists, dicts, etc., and a basic garbage collector.
[0] https://github.com/zwegner/pythonc https://github.com/zwegner/pythonc