Skip to content

rapidlua/luajit.me

Repository files navigation

luajit.me

A power tool to peek into LuaJIT internals, primarily for educational purposes

Try live at https://luajit.me

Features

  1. execute arbitrary Lua code and see what happens
  2. several snippets showcasing interesting quirks of LuaJIT are readily available
  3. upload and study jit.dump output [TBD]
  4. 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
  5. browse generated JIT-compiled traces
    • visually examine trace graph
    • highligh source code lines and/or bytecodes participating in a trace
  6. examine trace properties, including general info, IR and the assembly
  7. Presentation Mode — hit P to reduce visual clutter; suitable for presenting after a moderate zoom

Gallery

alt tag

alt tag