← All courses
🦀Beginner

Ownership and Borrowing

The idea the whole language is built on, taught by watching the compiler refuse. Moves and why assignment is not a copy, borrowing and the one rule that prevents a data race before the program ever runs, lifetimes as a question the compiler asks rather than an annotation you memorise, slices, and the escape hatches — Rc, RefCell, interior mutability — used deliberately instead of in panic.

Volume 24 · Part II · 5 chapters · 5 lessons
Share

What you'll learn

  • Moves, Copies and Drop
  • Borrowing and the One Rule
  • Lifetimes, and the Question They Answer
  • Slices and String vs &str
  • Rc, RefCell and Interior Mutability

Curriculum

3 modules · 5 lessons
Module 1Ownership1 lessons
Moves, Copies and DropPreview
Module 2Borrowing3 lessons
Borrowing and the One Rule
Lifetimes, and the Question They Answer
Slices and String vs &str
Module 3Shared Ownership1 lessons
Rc, RefCell and Interior Mutability

Reviews

No reviews yet.

More courses

Browse all →