02. Compiled vs Interpreted languages

A Comparison

Compiled Language
Interpreted Language
The original program is translated into native machine instruction
The original program is translated into something else
Code is executed directly by Hardware
Code is executed by special program called Interpreter
Generally Faster and more efficient at run-time.
Comparatively slows at run-time.
Additional compilation steps are required.
No compilation step is required. Program is ready to execute as soon as typed.
More control over hardware like and CPU and Memory.
Hardware is generally not accessible.
Examples : C, C++, Erlang, Haskell, Rust, and Go.
Examples : PHP, Ruby, Python, and JavaScript

Blog Resources

Interpreted vs Compiled Programming Languages: What's the Difference?
freeCodeCamp.org
A Crash Course in Interpreted vs. Compiled Languages
Medium

Video Resource

Compilation cs Interpretation
Last modified 2yr ago