Difference of Compiled and Interpreted Language
Difference of Compiled and Interpreted Language
In this language, once the program is compiled it is While in this language, the instructions are not directly
expressed in the instructions of the target machine. executed by the target machine.
There are at least two steps to get from source code to There is only one steps to get from source code to
execution. execution.
In this language, compiled programs run faster than While in this language, interpreted programs can be
interpreted programs. modified while the program is running.
In this language, compilation errors prevent the code In this languages, all the debugging occurs at run-time.
from compiling.
The code of compiled language can be executed directly A program written in an interpreted language is not
by the computer’s CPU. compiled, it is interpreted.
This language delivers better performance. This languages delivers relatively slower performance.
Example of compiled language – C, C++, C#, CLEO, Example of Interpreted language – JavaScript, Perl,
COBOL, etc. Python, BASIC, etc.
Refrence:
https://www.geeksforgeeks.org/difference-between-compiled-and-interpreted-language/