Skip to content
Related Articles

Related Articles

Difference between Compiled and Interpreted Language

Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 03 Oct, 2022
Improve Article
Save Article

Prerequisite – Compiler vs Interpreter 

What is Compiled Language?

A compiled language is a programming language that is 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. 

What is Compiled Language

 

What is Interpreted Language?

An interpreted language is a programming language that is 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. 

What is Interpreted Language

 

 Difference between Compiled and Interpreted Language

S.NO.COMPILED LANGUAGEINTERPRETED LANGUAGE
1A 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.
2In 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.
3There are at least two steps to get from source code to execution.There is only one step to get from source code to execution.
4In this language, compiled programs run faster than interpreted programs.While in this language, interpreted programs can be modified while the program is running.
5In this language, compilation errors prevent the code from compiling.In this languages, all the debugging occurs at run-time.
6The 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.
7This language delivers better performance.This language example delivers relatively slower performance.
8Example of compiled language – C, C++, C#, CLEO, COBOL, etc.Example of Interpreted language – JavaScript, Perl, Python, BASIC, etc.
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!