0% found this document useful (0 votes)
9 views1 page

Compiler vs Interpreter

Compilers process the entire program and generate intermediate object code, requiring more memory and making debugging harder due to error reporting only after the full program is checked. In contrast, interpreters take single instructions, do not generate intermediate code, and require less memory, allowing for easier debugging as they report errors immediately after each instruction. This results in a more efficient debugging process with interpreters compared to compilers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Compiler vs Interpreter

Compilers process the entire program and generate intermediate object code, requiring more memory and making debugging harder due to error reporting only after the full program is checked. In contrast, interpreters take single instructions, do not generate intermediate code, and require less memory, allowing for easier debugging as they report errors immediately after each instruction. This results in a more efficient debugging process with interpreters compared to compilers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Compiler Takes Entire program as input whereas Interpreter Takes Singleinstruction as input .

Intermediate Object Code is Generated in case of compiler whereas in case of interpreter No


Intermediate Object Code isGenerated.

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.

You might also like