LuaJIT as a Ruby backend.
summary
Claim: LuaJIT can act as a backend for mruby, but only as a partial prototype so far. Implementation uses LuaJIT 2.0, the mruby AST lowering path and the LuaJIT C APIs (lj_*) plus mmap with executable mappings and DynASM for native code emission. Progress reaches AST-to-LuaJIT-bytecode translation and API wiring; many Ruby semantics (method lookup, keyword args, full VM features) require reimplementation, compilation troubles and missing coverage stop it from producing a complete, fast mruby runtime.
AI-written summary · about
chapters (4)
- 0:00Introduction and background
- 11:02What is LuaJIT and its features
- 21:18LuaJIT compilation process
- 33:05Implementing Ruby backend with LuaJIT








