2 ms·
Which leads to the question why there is no proper JIT implementation of Python. It's so widely used that you would expect someone coming up with one eventually
by dx034 10y ago
Which leads to the question why there is no proper JIT implementation of Python. It's so widely used that you would expect someone coming up with one eventually. Or are language features so different that they don't allow an implementation similar to LuaJIT or Julia?
- Vaskivo 10y agoPython is much more complex than Lua. In fact, one of Lua's greatest features is it's extreme and elegant simplicity. I believe it is a lot harder to make a Python jitter. And it would never be as fast as a Lua jitter.
- joobus 10y agoThere is a JIT for python: http://pypy.org/ http://pypy.org/
- niftich 10y agoAnd although the article doesn't state that PyPy is a JIT, it's one of the implementations that the author tries to obtain a speedup.
- RubyPinch 10y agoCPython 3.6 has a frame evaluation api, specifically for JIT integration Pyston is the only CPython JIT currently however