Prerequisite – Compiler vs Interpreter
Compiled Language:
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.

Interpreted Language:
An interpreted language is a programming language which are generally interpreted, without compiling a program into machine instructions. It is one where the instructions are not directly executed by the target machine, but instead read and executed by some other program. Interpreted language ranges – JavaScript, Perl, Python, BASIC, 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. |
| 8 | Example of compiled language – C, C++, C#, CLEO, COBOL, etc. | Example of Interpreted language – JavaScript, Perl, Python, BASIC, etc. |
Recommended Posts:
- Difference Between Machine Language and Assembly Language
- Difference Between Assembly Language And Machine Language
- Difference Between C Language and LISP Language
- Difference between Hardware Description Language and Software Language
- Difference between %d and %i format specifier in C language
- What is the difference between a language construct and a “built-in” function in PHP ?
- Difference between Procedural and Non-Procedural language
- Difference Between Go and Python Programming Language
- Difference between Structured Query Language (SQL) and Transact-SQL (T-SQL)
- Difference between Text Mining and Natural Language Processing
- Difference between while(1) and while(0) in C language
- Difference between Java and C language
- Similarities and Differences between Ruby and C language
- Differences Between MATLAB and R Programming Language
- Language Processors: Assembler, Compiler and Interpreter
- Constants vs Variables in C language
- ML(Machine Learning) vs ML(Meta Language)
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
- Difference between Yaacomo and and XAP
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. 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.

