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
+ 2

What is the difference between compiler and interpreter??

Kindly,Explain few strategies to understand themm

29th Aug 2019, 2:53 PM
------
1 Answer
+ 4
Compiler: translates entire file into another one which holds 0s and 1s understandable by CPU, then you can execute that file Interpreter: immediately executes file line by line, not entire file, thus slower
29th Aug 2019, 3:03 PM
Elva
Elva - avatar