Rust First Steps

Hello Cargo, types, and your first fight with the borrow checker.

Start Rust from zero: Cargo, variables, types, control flow, functions, and the basics of ownership. The compiler will be blunt. That is love.

Beginner9 lessons~7h
0/9 complete

Course content

Getting Started

  • Hello, Cargo (and Macros)10 min

Core Concepts

  • Variables, Types & Shadowing15 min
  • if, loop, while, for15 min
  • Functions & the Semicolon Trap15 min

The Rust Superpower

  • Ownership 101: Move, Don't Copy20 min
  • References & Borrowing20 min

Project

  • Mini Project: Number Classifier22 min

Collections

  • String, &str & Vec<T>18 min

Rust Oddities

  • Copy vs Clone, Debug & Display15 min