Languages

Following programming languages have been looked at in this book:

Python

  • Interpreted1
  • Dynamically typed2
  • GC-based memory managemnet
  • Error handling based on exceptions
1

Although there are compilers like numba and codon that can turn Python into machine code.

2

Annotations in conjunction with type checker like mypy can be employed to turn Python into statically typed language. Standard library supports type hints through typing module.

Rust

  • Compiled
  • Statically typed
  • Ownership-based memory managemnet
  • Error handling based on return values

Crystal

  • Compiled
  • Statically typed
  • GC-based memory managemnet
  • Error handling based on exceptions