lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

For consoles such as Xbox 360, it is not possible to emit instructions on the fly and pass certification to ship the game. Ignoring the fact that the Xbox 360 is PowerPC-based and therefore incompatible with LuaJIT in its current form, could the code generator be tailored to generate a linkable .obj file with a translation of the Lua code to native instructions?

For LuaJIT in its current form, is it a possibility to generate a linkable x86 .obj file or an executable from a Lua script? I have used Lua heavily within a build system, with Lua scripts (often the same) being called hundreds of times from different build processes. Having a native x86 version of the script could save a great deal of time over hundreds of invocations.