Questions tagged [just-in-time]

Just-in-Time (JIT) Compilation dynamically compiles code at runtime for optimized execution, tailoring it to hardware and runtime conditions. Use this tag for questions about the design or implementation of JIT compilation.

Filter by
Sorted by
Tagged with
11 votes
2 answers

Why is it so difficult to implement the first Futamura projection?

The Futamura projections are a series of three transformations that can be performed on interpreters, compilers, and compiler-compilers respectively. These transformations rely on a specializer which ...
Corbin's user avatar
  • 724
10 votes
0 answers

What styles of interpreter are not well-supported by RPython?

The RPython toolchain translates interpreters to JIT compilers. The interpreter may be written in any style; the corresponding JIT compiler is defined by annotations on the main loops of the ...
Corbin's user avatar
  • 724
6 votes
5 answers

What are the advantages and disadvantages of just-in-time compilation?

Just-in-time compilation (JIT) is a way of implementing a language where the source code is given as input (like with a typical interpreter), but rather than being directly interpreted, (some or all ...
Rydwolf Programs's user avatar
6 votes
1 answer

How do I implement branch prediction for JIT?

I have a language with a working interpreter, and I am trying to add just-in-time compilation (JIT) to it. For ease of implementation, only individual branches are compiled, while control flow ...
Bbrk24's user avatar
  • 8,857
5 votes
3 answers

How JIT in R compares to JIT in Julia and JIT in Python?

How the implementations of JIT in R, Python and Julia differs? Are there characteristics of the language that make the compiler's job harder or less efficient in some language compared to others? On a ...
Antonello's user avatar
  • 151