Discovering Rust

Table of Contents

Rust is a fascinating language. The borrow checker is confusing at first, but once you understand the ownership concept, everything clicks.

What I liked

  • Memory management without a garbage collector
  • The powerful type system
  • Compiler error messages, incredibly clear

First program

fn main() {
    let message = String::from("Hello world!");
    println!("{}", message);
}

The learning curve is steep but worth it. Next up: lifetimes.