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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s