Advanced

  1. 1.Why Bytecode? From Tree-Walking to a Virtual Machine
  2. 2.Chunks, Opcodes & a Stack-Based VM
  3. 3.Compiling Expressions to Bytecode
  4. 4.Global and Local Variables in Bytecode
  5. 5.Control Flow & Jumps in Bytecode
  6. 6.Functions & Call Frames
  7. 7.Closures & Upvalues in a Bytecode VM
  8. 8.Garbage Collection: Mark-and-Sweep
  9. 9.Classes, Instances & Method Dispatch in Bytecode
  10. 10.Capstone: Benchmarking Wisp — Tree-Walking vs. Bytecode VM