Re:Node.js Versus LUA "Hello World" HTTP Server Showdown
by malkia on Wednesday October 13, 2010 @04:22AM
(#1786515)
LuaJIT 2.00 calls "C" functions a bit slower than reference lua or luajit 1.00. Mike Pall explained that in the newsgroup, if I'm not wrong. But the idea with LuaJIT is to use "C" much less.
[ Parent
| on HN ]
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown
by pygy_ on Wednesday October 13, 2010 @07:15AM
(#1786751)
IIRC, code sections with foreign call cannot be traced by the compiler... Or, if they can be, the performance would be worse than not doing it (my memory is a bit foggy).
A custom API for LuaJIT is in the works, to alleviate this problem. Extensions will have to be written twice though, if one wants to support both runtimes.