Why complier is faster than interpreter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why complier is faster than interpreter?

12th Jun 2021, 9:05 AM
prashanta jn
prashanta jn - avatar
2 Answers
+ 7
Hi! have you done some preliminary research and found out what a compiler and interpreter are? what is the essence of their work?
12th Jun 2021, 9:10 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
roughly because compiler analyze source code once and build machine code wich is later executed, while interpreter analyze source code on the fly each time you run it...
12th Jun 2021, 11:50 AM
visph
visph - avatar