Answer to Question #202387 in C++ for jay

Question #202387

Outline one advantage and one disadvantage of using a compiler, as opposed to using an interpreter. 


1
Expert's answer
2021-06-04T06:07:45-0400

Advantages of a compiler

It is faster during execution because compilation is only done once to convert source code to object code

Disadvantage of a compiler

During compilation a new object file is generated hence needing more space.it

May not be appropriate for systems that have small memory like embedded systems.

Advantage of an interpreter.

During interpretation no object file is generated hence works well in embedded systems with limited space.

Disadvantage of an interpreter

The execution is slower since each time execution is needed codes must be translated taking a lot of time.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog