DEV Community

juliamwangi123
juliamwangi123

Posted on

Difference Between Compiled Languages and Interpreted Languages

Difference between Compiled Languages and Interpreted Languages

Any program is written using human readable code that the machine cannot understand , but for the program to be executed by the processor it has to be converted into a language that the machine can understand and this where interpreters and compilers come in.

Some languages are converted directly into the machine language and these are compiled languages while others need a intermediate software to convert them into machine language and these are interpreted languages

Examples of compiled languages

  1. C
  2. C++
  3. Go
  4. Rust

Examples of interpreted languages

  1. PHP
  2. Ruby
  3. JavaScript
  4. Python

Top comments (0)