AnyLearn
All cursus
Programmingadvanced

Rust: Ownership, Borrowing, and What They Buy

Every language decides who frees memory and when, and Rust decides it at compile time from one rule: each value has exactly one owner. This path builds that rule, then the borrowing discipline that lets values be lent without transferring them. The payoff arrives in the third lesson, where data races turn out to be compile errors for free, because a race is aliasing plus mutation and the checker already forbids that. It ends on the escape hatches and where the guarantee genuinely stops.

0 of 4 lessons complete
Sign in to track progress and earn a certificate.

Lessons, in order

  1. 1
    Programming
    Ownership: One Rule That Replaces the Garbage Collector
    Start
  2. 2
    Programming
    Borrowing: Aliasing XOR Mutation
    Start
  3. 3
    Programming
    Fearless Concurrency: The Same Rule, Applied Across Threads
    Start
  4. 4
    Programming
    Unsafe, and Where the Guarantee Actually Ends
    Start