I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Just-In-Time

From Rosetta Code
(Redirected from JIT)

A Just-In-Time compiler (or JIT compiler) is a special compiler (used by Java and ActionScript 3, among others) which compiles bytecode into machine code at runtime. The regular compiler (for languages that use bytecode) converts source code to bytecode. The bytecode is run as the program. The JIT compiler converts the bytecode as it is used into machine code. Bytecode that is not used is not converted to machine code. Bytecode that is used multiple times is converted once. This can speed up the run time of a program by not having the computer think about parts of the program that it does not use. Some JITs will even optimize bytecodes that are used often.