Prerequisite – Compiler vs Interpreter
A compiled language is a programming language which are generally compiled and not interpreted. It is one where the program, once compiled, is expressed in the instructions of the target machine; this machine code is undecipherable by humans. Types of compiled language – C, C++, C#, CLEO, COBOL, etc.
Let’s see the difference between Compiled and Interpreted Language:
|S.NO.||COMPILED LANGUAGE||INTERPRETED LANGUAGE|
|1||A compiled language is a programming language whose implementations are typically compilers and not interpreters.||An interpreted language is a programming language whose implementations execute instructions directly and freely, without previously compiling a program into machine-language instructions.|
|2||In this language, once the program is compiled it is expressed in the instructions of the target machine.||While in this language, the instructions are not directly executed by the target machine.|
|3||There are at least two steps to get from source code to execution.||There is only one steps to get from source code to execution.|
|4||In this language, compiled programs run faster than interpreted programs.||While in this language, interpreted programs can be modified while the program is running.|
|5||In this language, compilation errors prevent the code from compiling.||In this languages, all the debugging occurs at run-time.|
|6||The code of compiled language can be executed directly by the computer’s CPU.||A program written in an interpreted language is not compiled, it is interpreted.|
|7||This language delivers better performance.||This languages delivers relatively slower performance.|
- Difference Between Machine Language and Assembly Language
- Difference Between Assembly Language And Machine Language
- Difference Between C Language and LISP Language
- Difference between while(1) and while(0) in C language
- Difference between Java and C language
- Difference between %d and %i format specifier in C language
- Difference Between Go and Python Programming Language
- What is the difference between a language construct and a “built-in” function in PHP ?
- Difference between Structured Query Language (SQL) and Transact-SQL (T-SQL)
- Difference between Procedural and Non-Procedural language
- Constants vs Variables in C language
- Similarities and Differences between Ruby and C language
- Language Processors: Assembler, Compiler and Interpreter
- What is the difference between GUI and CUI?
- Difference between PCI and PCI-X
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.