🌱 Tim's Dev Wiki

Search IconIcon to open search

JIT

Last updated September 16, 2022.

JIT (just-in-time) compilation is when source code (or bytecode) gets compiled on-demand at runtime as it executes rather than prior to being executed. JIT compilation is a feature of an interpreter. Traditionally, source code is compiled to machine code directly by an AOT compiler like gcc for C and C++, meaning no further compilation is done during execution.

# JIT vs. AOT