Skip to main content

Computer Programming: Compiled vs Interpreted Languages

Compiled vs Interpreted Languages

Example Interpreted (Scripting) Languages

  • Bash
  • JavaScript
  • PowerShell
  • Python
  • Ruby

Example Compiled Languages

  • C
  • C++
  • C#
  • Go
  • Java
  • Rust

More Information: Compiler and Interpreter: Compiled Language vs Interpreted Programming Languages - YouTube

REPL

If you're a beginner to computer programming, starting with a programming language with a REPL can be highly beneficial, as you can run and change your code on the fly without waiting for a compiler or debugger, so you get instant feedback on your input

  • Read
    • An interpreter reads your input
  • Evaluate
    • An interpreter executes (evaluates) your instructions
  • Print
    • An interpreter prints any output or errors
  • Loop
    • An interpreter loops back to repeat the process

image.png

Left: PowerShell, Right: Python -- shows two example programming languages with a REPL