Difference
between interpreter and compiler:
interpreter
|
compiler
|
· Translate the
statement of the source code one by one and execute immediately .
· Program execution
is slow.
· It does not create
object code file.
· Translator program
is require to translate the program the each time user wants to run the
program.
· Programming
language like BASIC PHP uses interpreter.
|
·
It translates a program into machine code as a whole.
·
Programs execution is fast.
·
It creates object code file.
·
Translator program is not require to translate the
program each time user wants to run the program.
·
Programming language like C C++ uses compilers.
|
EmoticonEmoticon