Computer Science, asked by VeiniXo9478, 10 months ago

Point of difference between compiler and interpreter

Answers

Answered by abhinavkashyap55
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 ItzRadhe04
3

______________________________

{\bold{\huge{\blue{\underline{\red{An}\pink{sw}\green{er}\purple{:-}}}}}}

\bf\boxed\star\purple{\underline{\underline{{Compiler.....!!!!!!}}}}

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 .

\bf\boxed\star\purple{\underline{\underline{{Interpreter.....!!!!!!}}}}

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