Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Design mistakes in mixed C/C++ and Lua projects. Parent comment
http://thread.gmane.org/gmane.comp.lang.lua.general/84469/fo...
To summarize, use the FFI library (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.
There are no comments on this comment yet.
http://thread.gmane.org/gmane.comp.lang.lua.general/84469/fo...
To summarize, use the FFI library (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.