Ignition
V8's interpreter, which turns the abstract syntax tree into bytecode and runs it so code starts quickly.
In more detail
While it runs, Ignition records type feedback: which kinds of values each operation actually sees. The optimising compilers use that feedback later to generate faster machine code.
Related terms
- V8 — Google's open-source JavaScript engine, used by Chrome and Node.js to parse, compile and run JavaScript.
- bytecode — A compact, portable instruction format that a virtual machine or interpreter executes, instead of instructions for one particular processor.
- Sparkplug — V8's fast non-optimising compiler, which turns bytecode directly into simple machine code for functions that run often.
- TurboFan — V8's optimising compiler, which turns hot functions into fast machine code based on the types it has seen.
Taught in
- V8 Engine & JIT Pipeline: Bytecode & Turbofan — Node.js Internals & Backend Services