Can modern Lua virtual machines outperform V8?
Can modern Lua virtual machines outperform V8?
V8: node fib.js 6.40s user 0.02s system 99% cpu 6.423 total LuaJIT: ./luajit fib.lua 2.02s user 0.00s system 99% cpu 2.026 total
http://www.saltwaterc.eu/but-the-question-is-will-it-recur-p...
Node depending on how you build it can take between 300 and 1000 ms of time and 10Mb of ram to just start up on the TouchPad. Luvit starts instantly and uses much less ram.
Larger programs are needed to see how the memory usage and performance scales with real work. That could be completely different.
I have used Lua at the command line on machines with 64GB of RAM to do ad hoc data mining that would have otherwise required several days of prep time for writing and debugging C before each run.
Using Lua, I could do things in hours that used to take overnight, or several days.
Good thing you added "compared" there, because I wouldn't call Node.js exactly "mature".