[Python-ideas] A General Outline for Just-in-Time Acceleration of Python
Victor Stinner
victor.stinner at gmail.com
Fri Jun 13 11:15:47 CEST 2014
2014-06-13 11:05 GMT+02:00 Neil Girdhar <mistersheik at gmail.com>:
> Thanks for the explanation. It's really good to know that PyPy executes all
> Python code. The idea of using a restricted subset is really annoying to
> me.
PyPy is 100% compatible with CPython, it implements very tricky
implementation details just to be 100% compatible. (But PyPy support
of the CPython C API is only partial, but the C API is not part of the
"Python language".)
In short, the JIT compiler is written in a different language called
RPython. This language can be compiled to C, but other backends are or
were available: Java, .NET, Javascript, etc. (You should check, I'm
not sure.)
The whole "PyPy project" is more than just than a fast Python
interpreter. There are also fast interpreter for Ruby, PHP, and some
other languages.
Victor
More information about the Python-ideas
mailing list