The difference between compiler and interpreter is :
COMPILER
|
INTERPRETER
|
1) A
compiler translate the entire source program into object program in a single
attempt and then only object program is executed.
|
1) An
interpreter translates one program instructions at a time.
|
2) Compiler
is faster than interpreter ( 5 to 25 times faster than interpreter )
|
2) Interpreter is slower than compiler
|
3)
Compiler is complex program i.e larger than of
interpreter
|
3) Interpreter is
simple program i.e smaller than that of compiler.
|
4) Compared
to interpreter , developing compiler
is difficult .
|
4) 4) Compared
to compiler , developing interpreter is easier.
|
5)
It occupies more memory because compiler is
big and complex .
|
5) It occupies
less memory as it is small and simpler than compiler
|
6)
Compiler make a bit difficult and slower to
detect and correct syntax error.
|
6) Interpreter
easily detects and reports the error
at each line .
|
7)
The compiled program (called object code) is
permanently saved in hard disk for further use, program need not to be
recompiled for execution next time.
|
7) Translation
provided by interpreters is not preserved so , the program needs
retranslation every time for execution.
|
8) Examples : c, c++, FORTAN
|
8) Example
: QBASIC , PERL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Harrah's Casino Site - Lucky Club Live
ReplyDelete777 Harrah's Blvd S Las Vegas, NV 89109 - Use this simple form to find hotels, motels, and other lodging near Harrah's luckyclub Casino in Las Vegas.