4 ms·
Python does not compile to C (well, there might be such a compiler, but it is not the standard mode of operation). In CPython, Python compiles to bytecode, whi
by elehack 13y ago
Python does not compile to C (well, there might be such a compiler, but it is not the standard mode of operation).
In CPython, Python compiles to bytecode, which is then interpreted by the Python interpreter (which itself is written in C).
- gsnedders 13y agoRPython, the Python subset that PyPy is written in, is compiled to C. (That said, it is a fairly restrictive subset, and the compiler is very much designed for interpreters and nothing else.)