Language and Runtime Internals
Move from tokenization and bytecode to JIT specialization, heap management, and event-loop scheduling.
Curriculum (12 steps)
An interactive concept flow for how a parser turns tokens into structure, from its assumptions through the main operation and boundary checks.
Follow the key state changes and boundary checks involved in how a parser turns tokens into structure.
Bytecode is a compact instruction representation designed for a virtual machine rather than one physical processor.
When a Runtime Compiles Hot Code
articlesA just-in-time compiler translates code while a program runs.
Follow the key state changes and boundary checks involved in when a runtime compiles hot code.
An interactive concept flow for heap allocation and garbage collection, from its assumptions through the main operation and boundary checks.
Explain the model, execution steps, complexity, and limits of async code still runs on an event loop.