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

Video Resource

Compilation cs Interpretation