Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: