Lua, according to its own website lua.org, is a powerful, efficient, lightweight, embeddable scripting language. This makes Lua ideal for configuration and extensions of other programs, also because of its great interoperation with C. The basic Lua interpreter is less than 250kB in size. As the official implementation is written in ANSI C it is available for many platforms and architectures.
There are multiple versions available:
- — Lua 5.3
- — Lua 5.2
- — Lua 5.1
JIT compilation support
Just-in-time compilation is a method of compiling source code at run-time, rather than before. LuaJIT is a drop-in replacement for Lua 5.1. This version is best suited for higher performance constrains.
For JIT compilation support install the package.
The LuaRocks package manager is available as .
Some modules are also available in the official repositories.