3 ms·
1. LuaJIT can be faster than C due to optimizations regarding function calls. 2. GC is LuaJIT's greatest weakness [1] (It is very slow) - Most high performance
by iscoelho 4y ago
1. LuaJIT can be faster than C due to optimizations regarding function calls.
2. GC is LuaJIT's greatest weakness [1] (It is very slow) - Most high performance projects disable it and only use C FFI allocations.
[1] http://wiki.luajit.org/New-Garbage-Collector http://wiki.luajit.org/New-Garbage-Collector
LuaJIT 3.0 (which will have the new garbage collector) also has no ETA and is not in development.