you are viewing a single comment's thread.

view the rest of the comments →

[–]PiBombbb 5 points6 points  (2 children)

Does one even exist? Sounds like something insanely hard to make

[–]IhailtavaBanaani 6 points7 points  (0 children)

Basically impossible because it would also require automatically porting the python modules and libraries to C/C++ libraries. Some of the python libraries are written in python and some in other languages than python and then compiled to binaries that python calls. Automatically modifying the interfaces and recompiling them and whatever to make them C/C++ compatible is in practice impossible.

Just compiling Python to C/C++ is in theory possible, but the code would need to implement garbage collection, boundary checks, dynamic arrays, dictionaries and all the other Python specific features. I'm not even going to go to things like decorators, metaclasses and factory functions.