← All courses

Lua

Lua Advanced: Coroutines, Metamethods & Performance

Cooperative multitasking with coroutines, operator overloading and __call/__newindex, variadic functions, and garbage collection with weak tables.

5 lessons

Start the first lesson

Curriculum

  1. 1Coroutines: Cooperative Multitasking📝 quiz
  2. 2Advanced Metatables: Operator Overloading & __call📝 quiz
  3. 3Variadic Functions and table.pack/unpack📝 quiz
  4. 4Garbage Collection & Weak Tables📝 quiz
  5. 5Final Project: Build a Tiny Event Emitter with Coroutines

Every lesson is open, take them in order or jump straight to what you need.