Interpreter

Interpreter

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2022 Sep 23 3:29
Editor
Edited
Edited
2025 Oct 15 17:38
Refs
Refs

Interpretation

Machine Code translation executed at execution time, so slow
A program that translates and executes code line by line, rather than translating the entire code into machine language at once like a compiler, taking each line of source code as input, translating it, executing it immediately, and then outputting the result
Interpreter Notion
 
 
 
 
Modern CPUs (especially Zen 2/3 and similar) benefit from Out-of-Order execution, Branch Prediction, Superscalar pipelines, and other features, making even well-implemented interpreters very fast; most of the benefits of JIT can also be implemented in interpreters
 
 

Recommendations