Programming languages

There are:

  • machine code
  • low-level language: assembly language
  • high-level language: C, C++, Java, Perl, PHP, …: compile and interpret

A compiler is faster than an interpreter although it’s less flexible. Illustration:

How does a compiler work?

Example of compiling

How does an interpreter work?

Example of interpreting

Source

#compiler, #high-level-language, #interpreter, #learncpp, #low-level-language, #machine-code, #programming-language