Live · Tutorial · Rawkode Live

Hands-on with Rust: Lifetimes & Ownership

§ Overview

About this video

What You'll Learn

  1. Explain how Rust's borrow checker enforces ownership, mutable borrows, and immutable references.
  2. Walk through Rustlings exercises that move vectors through mutable references and dropped borrows.
  3. Distinguish owned `String`s from `&str` slices and use explicit lifetimes to return references safely.

Ana Hobden joins David to work through Rust's borrow checker and lifetime system using the Rustlings move-semantics exercises, covering ownership, mutable references, scope, and when to reach for Box, Rc, and Arc.

§ Technologies featured

Meet the Cast

Weekly Cloud Native insights

Stay ahead in cloud native

Tutorials, deep dives, and curated events. No fluff.

More from Rawkode Live

View all 173 episodes
Rust

More about Rust

View all 22 videos