Rust Rewrite Index

luajit

OpenResty-maintained branch of LuaJIT (interpreter)

Rust efforts

Research record · 2026-11-29

Searched LuaJIT Rust rewrite, tracing JIT, Lua 5.1-compatible runtime and upstream LuaJIT documentation. Found an experimental from-scratch compatible runtime, not a source port. Lua 5.4 Tsuki is a different target.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Partial rewrite

luajit-rs

From-scratch experimental LuaJIT-compatible Rust runtime with a tracing JIT. Its README reports bundled test results but identifies subsets of OS and I/O libraries and partial FFI; full compatibility is not established.

Evidence checked 2026-11-29

Project structure

LuaJIT implements the full set of language features defined by Lua 5.1. The virtual machine (VM) is API- and ABI-compatible to the standard Lua interpreter and can be deployed as a drop-in replacement.

Inside the source tree

  • src/ · 218 indexed files
  • dynasm/ · 24 indexed files
  • t/ · 9 indexed files
  • etc/ · 2 indexed files

Source files by extension in this snapshot · C (80), C++ (3)

Selected components packaged from this source in Debian 13.

  • luajit · OpenResty-maintained branch of LuaJIT (interpreter)
  • libluajit-5.1-2 · OpenResty-maintained branch of LuaJIT (shared objects)
  • libluajit-5.1-dev · OpenResty-maintained branch of LuaJIT (development files)
  • libluajit-5.1-common · OpenResty-maintained branch of LuaJIT (common files)

Source record

Debian snapshot version
2.1.0+openresty20250117-2

More in this category

Compilers & runtimes

How statuses are assigned