◄ Wiki / Build
JIT
A compiler that turns code into fast native machine instructions on the fly, right as the program runs.
Just-In-Time compilation splits the difference between interpreting (flexible but slow) and ahead-of-time compiling (fast but rigid): it compiles code to native instructions at runtime, once it knows what's actually needed. This gives near-native speed while still handling code that isn't known until execution, like shaders or bytecode. In microZeus, mzcc JIT-compiles a subset of C to native code, and mzJIT compiles shaders and bytecode at runtime.
See also
- JIT backendThe part of a JIT compiler that emits actual machine code for one specific CPU architecture.
- intermediate representation (IR)A halfway code form a compiler uses between human source code and raw machine instructions.
- interpreterA program that runs code by reading and executing it step by step, without first compiling it to machine code.
- ISAThe full set of instructions a particular kind of CPU understands — its native vocabulary.
Referenced by
intermediate representation (IR) · interpreter · JIT backend · LLVM