LuaJIT

Description

LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. It may be embedded or used as a general-purpose, stand-alone language. LuaJIT can dramatically speedup Lua programs and provides a simple interface for calling C functions and using C data structures from pure Lua code.

User instructions

LuaJIT is available via the modules system. To add it to your environment run:

$ module load luajit/2.0.5

LuaJIT can then be run by executing

$ luajit

Documentation is available via the man page and the LuaJIT website.

License

MIT License.

Admin notes

The installation path needs to be set by changing the PREFIX variable in the top-level Makefile. Compilation and installation is then straightforward: using the builder account on a workstation I did (inside the extracted LuaJit source tree):

$ make
$ make install