Answer (1 of 4): Well, actually in Lua that’s a trivial tasks. Still I want to show you an alternative before you go there. At least on Linux you can teach Linux to execute compiled LuaJIT bytecode natively. You find a seldom consulted, a bit hidden page about the process in the LuaJIT wiki: Li...
www.quora.com