Interpreter vs Compiler vs JIT Compiler #technicalinterview #coding #programming

preview_player
Показать описание
This is short overview of the differences between Interpreters, Compilers and JIT Compilers

Preparing for a technical interview?
Рекомендации по теме
Комментарии
Автор

Great that you explicitly said that interpreters actually convert to an intermediate representation before executing. I've seen programmers thinking interpreters actually execute the source code line by line (I guess this probably comes from some old book or course) and get shocked when I show them "import dis" in Python.

Israel
Автор

Need to say that the goal of converting source code to low-level machine code is for compilers. In case of interpreted languages the resulted machine code (byte code) will be executed by a virtual machine (analogue of a real CPU). This is why Java has separated compiler and JVM (an interpreter of byte code).

zngnoqi
Автор

Better explanation than the one gave by my uni professor 🫡

pietropalandrani