5 ms·
Depends what sort of code you’re running. LuaJIT is a tracing JIT - it’s great for code which runs the same way over-and-over, but has trouble with unpredictabl
by pansa2 7y ago
Depends what sort of code you’re running. LuaJIT is a tracing JIT - it’s great for code which runs the same way over-and-over, but has trouble with unpredictable branches. V8 does a much better job than LuaJIT for things like a loop containing an if/else with a 50:50 condition.
Overall, the fastest dynamic language JITs are probably V8 and other JavaScript runtimes - it’s worth noting that none of these use LuaJIT-style tracing.
- samatman 7y agoI wish Mike Pall had stuck around long enough to land hyperblock scheduling :/ https://github.com/LuaJIT/LuaJIT/issues/37/ https://github.com/LuaJIT/LuaJIT/issues/37/ That and the quad-color garbage collector would ensure LuaJIT's dominance for many years to come. The quad-color is well described, and someone might successfully implement it at some point; I doubt there's another human alive who could implement hyperblock scheduling. I'd love to be wrong.
- ksec 7y agoAt least he is still on LuaJiT mailing list. Does anyone know what he is currently working on ?