Beginner
Compilers & Programming Language Theory
Q38 / 100
What is an interpreter vs a JIT compiler?
Correct! Well done.
Incorrect.
The correct answer is B) An interpreter executes code directly; a JIT (Just-in-Time) compiler detects hot code paths and compiles them to native code at runtime for speed
B
Correct Answer
An interpreter executes code directly; a JIT (Just-in-Time) compiler detects hot code paths and compiles them to native code at runtime for speed
Explanation
JIT (Java HotSpot, V8 TurboFan, PyPy, LuaJIT): detect frequently executed code (hot spots), compile to optimized native code at runtime. Provides interpreter flexibility + near-compiled performance after warmup.
Progress
38/100