luajit.me
A power tool to peek into LuaJIT internals, primarily for educational purposes
Try live at https://luajit.me
Features
- execute arbitrary Lua code and see what happens
- several snippets showcasing interesting quirks of LuaJIT are readily available
- upload and study
jit.dump
output [TBD] - explore bytecode behind the source code in several modes
- Lua β bytecodes are hidden, revealed on click on a source line
- Bytecode β only bytecode is displayed
- Mixed β bytecodes interleaved with Lua source code
- browse generated JIT-compiled traces
- visually examine trace graph
- highligh source code lines and/or bytecodes participating in a trace
- examine trace properties, including general info, IR and the assembly
- Presentation Mode β hit P to reduce visual clutter; suitable for presenting after a moderate zoom