Here is the video version, if you prefer it:
As the title says, not all programs are compiled. Your reaction might be: Gasp “That means that the last post was a lie?” “No”, I would respond. Read on.
There are two kinds of programming languages – ones that are compiled and ones that are interpreted. (Shotts, 2019) The compiled programming languages undergo the process described in the previous post. Interpreted do not. Interpreted programming languages are executed line-by-line. So instead of taking the whole program and translating it into zeroes and ones, then linking it and forming an executable file, a program called interpreter goes line-by-line over the interpreted language’s source code and executes it as it encounters each line of the source code.
Interpreted languages are generally slower than compiled languages.
Hope you learned something new!
Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 375-376
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.