Just-In-Time Compiler

Why Trust Techopedia

What Does Just-In-Time Compiler Mean?

A just-in-time (JIT) compiler is a compiler that compiles code during program execution, rather than ahead of time. Many traditional compilers compiled code, transitioning between code input and machine language, well before runtime. A JIT compiler is a way to compile in real time or on the fly as the program executes.

Advertisements

Just-in-time compilation is also known as dynamic translation.

Techopedia Explains Just-In-Time Compiler

Ahead-of-time (AOT) compilers go through all of the code before the program is ever run. This allows for the allocation of more resources to the compile process without slowing down initial program execution. JIT compilers can be slower, because they have to balance compile resources with runtime concerns. However, one of the benefits of a JIT compiler is that the on-the-fly compile can allow for dynamic changes according to the platform.

In general, JIT compilers offer a key choice for developers and engineers, the ability to only compile when the program is run, rather than splitting up compile and initial execution into two separate stages.

Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.