Point of difference between compiler and interpreter
Answers
Answered by
0
The main difference is that an interpreter directly executes the instructions in the source programming language while a compiler translates those instructions into efficient machine code. An interpreter will typically generate an efficient intermediate representation and immediately evaluate it.
Answered by
3
______________________________
1) Translates the entire program into machine codes .
2) Takes a lot of time to analyze the source code .
3) Compiled code run faster .
4) It takes an entire program .
5) C , C++ , C# , Java all use compiler .
1) It translates only one statement of the program at a time .
2) Take very less time to analyze the source code .
3) Interpreted code run slower .
4) It takes a single line of code .
5) PHP , Python uses an interpreter .
______________________________
Similar questions
Political Science,
6 months ago
English,
6 months ago
Social Sciences,
6 months ago
Math,
1 year ago
Science,
1 year ago
Science,
1 year ago