Compiler vs Interpreter
Compiler vs Interpreter
Memory Requirement is More(Since Object Code is Generated) in case of compiler whereas Memory
Requirement is Less in case of interpreter.
Errors are displayed after entire program is checked in case of compiler. Hence debugging is
comparatively hard. In case of an interpreter, Errors are displayed forevery instruction interpreted (if
any). An interpreter continues translating the program until the first error is met, in which case it
stops. Hence debugging is easy.