What is the difference between compiler and interpreter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between compiler and interpreter?

29th Oct 2019, 9:51 PM
#Ergashbek_Mατκαrιmoν
#Ergashbek_Mατκαrιmoν - avatar
2 Answers
+ 7
compiler translates source code into machine code which can then be run. interpreter translates source code into machine code while running, making it slower.
29th Oct 2019, 9:56 PM
Anton Böhler
Anton Böhler - avatar
+ 7
Interpreter does line by line translation and execution.
30th Oct 2019, 1:03 AM
Sonic
Sonic - avatar