1873 days ago
Fast enough VMs in fast enough time
The difference is that LuaJIT would be tracing
, while PyPy tries to trace the user's program
while it is being traced by your interpreter
. Interpreter's loop is usually quite unpredictable and is therefore not the best candidate for tracing JIT optimization. PyPy, on the other hand, (IIRC) allows you to denote which variables belong to the interpreter and which belong to the user program, and so the traces would only guard on the user variables.
1872 days ago
I wonder if it would be possible (or how difficult it would be) to modify LuaJIT to add what RPython provides: "tracing the user's program while it is being traced by your interpreter."
1871 days ago
What's the point? Just write your program in Lua and enjoy the speed boost of LuaJIT! ;-)
Apply to YC