July 07th, 2024

What is the difference between compiler and interpreter

Like (0) Comments (1)

1 Comments Add Your Comment


Akshat Gupta
3 years ago Selected
Compiler programs take up more memory because the entire object code has to reside in memory.

Interpreter does not generate intermediate object code, it generates machine code. As a result, the interpreter program requires less memory.

The compiler executes conditional control statements (such as if-else and switch-case) and is logically faster than the interpreter.

The interpreter executes conditional control statements very slowly.
Like (0) Reply

Post a Comment

To leave a comment, please Login or Register