News for hackers. Stuff that matters.
Re:Fast enough VMs in fast enough time by tomp on Wednesday February 08, 2012 @11:42AM (#3567200)
The difference is that LuaJIT would be tracing your interpreter, 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.
Re:Fast enough VMs in fast enough time by oconnor0 on Wednesday February 08, 2012 @02:58PM (#3568167)
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."
Re:Fast enough VMs in fast enough time by xolox on Thursday February 09, 2012 @12:48PM (#3572096)
What's the point? Just write your program in Lua and enjoy the speed boost of LuaJIT! ;-)