3 ms·
There are some follow-up posts in the thread: http://thread.gmane.org/gmane.comp.lang.lua.general/84469/focus=84483 http://thread.gmane.org/gmane.comp.lang.lua
by indygreg2 15y ago
There are some follow-up posts in the thread:
http://thread.gmane.org/gmane.comp.lang.lua.general/84469/focus=84483 http://thread.gmane.org/gmane.comp.lang.lua.general/84469/fo...
To summarize, use the FFI library (http://luajit.org/ext_ffi.html http://luajit.org/ext_ffi.html) which enables LuaJIT to directly access C types and functions, bypassing the Lua C API. Or, write more of your code in pure Lua, reducing usage of the Lua C API bridge.