Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Understanding Rust - Or How to Stop Worrying and Love the Borrow-Checker

GOTO Conferences via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Explore the fundamentals of Rust programming in this 42-minute conference talk by Steve Smith recorded at YOW! Australia 2024. Learn how to work with Rust's strict rules rather than against them, particularly focusing on the often-intimidating borrow-checker. Dive into core concepts including mutability rules, move and borrow semantics, and how Rust's approach differs from garbage collection. Understand how the compiler handles resource management, the distinction between stack and heap memory, and how sharing works in Rust. The presentation also covers threads, traits, markers, and async programming with practical comparisons to existing programming techniques. Perfect for developers who have attempted Rust but struggled with its unique memory management model, this talk provides insights into producing more elegant code while embracing Rust's safety guarantees rather than fighting them.

Syllabus

00:00 Intro
03:23 Recap: Mutability rules
05:59 Recap: Move & borrow
07:20 Garbage collection
10:00 The compiler is resource management
15:24 Stack & heap
29:22 Sharing
25:10 Threads
29:07 Traits & markers
36:23 Async
30:13 Conclusion
41:35 Outro

Taught by

GOTO Conferences

Reviews

Start your review of Understanding Rust - Or How to Stop Worrying and Love the Borrow-Checker

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.