4 ms·
Openresty is doing pretty well with Lua and despite the fact it uses LuaJIT it is actually interpreted and the JIT compiler is not used (that will change eventu
by justincormack 14y ago
Openresty is doing pretty well with Lua and despite the fact it uses LuaJIT it is actually interpreted and the JIT compiler is not used (that will change eventually). Ruby is just slow, as is PHP.
- meric 14y agoCan't wait to see Openresty benchmark with LuaJIT.
- continuations 14y ago> despite the fact it uses LuaJIT it is actually interpreted and the JIT compiler is not used Why not - is that a limitation of OpenResty or of LuaJIT? How would you turn on JIT compiler in OpenResty?
- justincormack 14y agoThe traditional Lua API is interpreted only so every call interrupts a trace. You have to use the ffi API to call C code instead. Plus some string operations are interpreted only but that is being fixed. It is all being worked on but there is a fair amount to do...