Skip to content
This repository was archived by the owner on Jul 1, 2018. It is now read-only.
SquidDev edited this page Jan 7, 2017 · 1 revision

LuaJC is an extension to LuaJ and Cobalt which compiles Lua code to Java bytecode. This can result in code running up to 2x faster.

Configuration

LuaJC can be enabled by setting the runtime to luaj.luajc or cobalt.luajc as appropriate.

Bytecode verification can be enabled using LuaJC.verify. Do not enable this unless reporting bugs as there is a major performance hit when compiling.

Reporting bugs and a warning

Compiling Lua to Java is a complicated task and so there may be programs which do not run correctly or crash. Whilst I believe all the bugs have been fixed, if you do find a bug please report it to the LuaJC repo.

Before doing so please enable LuaJC.verify and rerun the problematic script. Please include the versions of CCTweaks/CCTweaks-Lua and CCTweaks-Runtimes being used, the runtime being used, the script and your log files.

Clone this wiki locally