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
JIT: so you want to be faster than an interpreter on modern CPUs…
Since my previous blog entry about JIT compiler for PostgreSQL, sadly not much happened due to a lack of time, but still some things were done (biggest improvement was the port to ARM64, a few optimizations, implementing more opcodes…). But I am often asking myself how to really beat the interpreter… And on “modern” CPUs, with a well written interpreter, that’s far more complicated than many would imagine. So in order to explain all this and show how I am planning to improve performance (possibly of the interpreter itself too, thus making this endeavor self-defeating), let’s first talk about…
https://www.pinaraf.info/2025/10/jit-so-you-want-to-be-faster-than-an-interpreter-on-modern-cpus/
Crafting Interpreters
Ever wanted to make your own programming language or wondered how
they are designed and built?
https://craftinginterpreters.com/
컴파일러는 어떻게 내가 작성한 코드를 인식하는걸까? - 재그지그의 개발 블로그
이번 포스트는 기존에 제가 평소에 다루던 주제와는 조금 다릅니다. 아니, 프론트엔드 개발자가 형식 언어와 컴파일러 얘기라니... 이 무슨 저-급(Low-Level) 레이어 이야기를 하고 계신건가요? 맞습니다. 사실 대부분의 개발자는 연구자가 아닌 이상 응용 소프트웨어를 만드는 일을 하지, 이렇게 컴퓨터 이론과 언어학 자체에 대해서 깊게 알 필요는 없는 것 같습니다.
https://wormwlrm.github.io/2021/04/18/Formal-Language-and-Compiler.html



Seonglae Cho