Compiler |
Interpreter |
|
It is
translates source code into object code as a whole.
|
It is
translates source code into object code into machine code statement by
statement.
|
|
It created
an object file.
|
It does not
created an object file.
|
|
Program
execution is very fast.
|
Program
execution is slow.
|
|
Translator
program is not required to run the program.
|
Translator
program is required to run the program.
|
|
It is not
easier to correct error in the source code.
|
It is easier
to correct error in the source code.
|
|
Most of the
high-level programming language have compiler program.
|
A few
high-level programming language have interpreter program.
|
|
C and C++
compilers are example of compiler.
|
GWBASIC are
example of interpreter.
|
Showing posts with label Different between compiler and interpreter. Show all posts
Showing posts with label Different between compiler and interpreter. Show all posts