5 ms·
It’s really not fair to compare CPython with LuaJIT. If you compare LuaJIT with PyPy or Numba, the “much faster” argument will simply not be true. What’s diffe
by aldanor 9y ago
It’s really not fair to compare CPython with LuaJIT.
If you compare LuaJIT with PyPy or Numba, the “much faster” argument will simply not be true. What’s different is that both of the above only cover a part of the language, but for specialised (e.g. numeric) application that’s often not a problem.
- whyever 9y agoI think LuaJIT is generally faster, not only because Python is harder to optimize.
- shakna 9y agoLUAJIT is often on par with C. How would that make it slower than Pypy?
- etiene 9y ago> If you compare LuaJIT with PyPy or Numba, the “much faster” argument will simply not be true Source? AFAIK it does hold true. Last time I benchmarked those, LuaJIT was significantly faster, with PyPy almost being on pair with vanilla Lua, due to Python being a much more complex language and harder to optimise.