# LuaJIT

> A Just-In-Time Compiler for Lua

Source: https://talira.ai/catalog/luajit-22hapqm2
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / runtimes](https://talira.ai/categories/developer-tools/runtimes)
- Platforms: windows, linux, macos, android, ios, freebsd[^4]
- Licence: MIT[^4][^5]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Implements: [Lua](https://talira.ai/catalog/lua-0jn3nbkb.md)
- Creator: Mike Pall

LuaJIT is a just-in-time compiler and runtime for [Lua](https://talira.ai/catalog/lua-0jn3nbkb.md), combining a high-speed interpreter written in assembler with a trace compiler that uses SSA-based optimizations and tuned code generation backends, widely considered one of the fastest dynamic language implementations. It's API- and ABI-compatible with Lua 5.1, so it works as a drop-in DLL or shared library for applications that embed Lua, and adds an FFI library for calling C functions and using C data structures from Lua code, plus string buffers, a profiler and some Lua 5.2 extensions. It runs on Windows, Linux, BSD, macOS, Android and iOS and on game consoles, across x86, x64, ARM, ARM64, PPC and MIPS. LuaJIT uses rolling releases from its git repository rather than tarballs. Created by Mike Pall in 2005 and MIT licensed.

## Links

- Website: https://luajit.org/
- GitHub: https://github.com/LuaJIT/LuaJIT
- Docs: https://luajit.org/luajit.html

## Problems it solves

- my game's Lua scripts are too slow and I need them to run much faster
- embed a fast scripting language in my C application with a tiny memory footprint
- call C library functions from a script without writing binding code
- speed up the Lua code in my Nginx or OpenResty setup
- a drop-in faster replacement for the Lua 5.1 interpreter my app already embeds

## Features

- trace-based JIT compiler with SSA optimizations
- interpreter written in assembler
- FFI library for calling C functions and using C data from Lua
- API and ABI compatible with Lua 5.1, drop-in DLL or shared library
- string buffers and a built-in profiler
- some Lua 5.2 language and library extensions
- x86, x64, ARM, ARM64, PPC and MIPS backends

## Limitations

- No release tarballs or binaries: it's built from source from the git repository, or installed from an operating system's package manager.[^1][^2]
- Implements the Lua 5.1 API and ABI, with only some features of later Lua versions.[^3]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Mike Pall

Warnings:

- GitHub activity not fetched yet

## Related

- Implements [Lua](https://talira.ai/catalog/lua-0jn3nbkb.md)

## Sources

[^1]: https://luajit.org/download.html (checked 23 Nov 2026)
[^2]: https://luajit.org/status.html (checked 23 Nov 2026)
[^3]: https://luajit.org/extensions.html (checked 23 Nov 2026)
[^4]: https://luajit.org/luajit.html (checked 23 Nov 2026)
[^5]: https://github.com/LuaJIT/LuaJIT/blob/v2.1/COPYRIGHT (checked 23 Nov 2026)
