Skip to content

Lesson 01 · Backend & Systems with Rust

Rust: Fundamentals with Cargo

Install Rust with rustup, drive every project with cargo, and learn the core language: immutable by default, shadowing, types, expression-bodied functions, loops, and exhaustive match.

45 minintermediateBackend & Systems: Rust

Prerequisites: Python collections

Learning objectives
By the end of this lesson, you will be able to:
  • Install Rust with rustup and drive projects with cargo new, run, check, and build
  • Choose deliberately between let, mut, and shadowing
  • Read Rust's scalar types and write expression-bodied functions
  • Control flow: if as an expression, loops over ranges, and exhaustive match on tuples
  • Recognize panic! as the unrecoverable-failure escape hatch