3 ms·
Is there a matching post or guide with the "right" way?
by xsmasher 15y ago
Is there a matching post or guide with the "right" way?
- indygreg2 15y agoThere 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.