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

YouTube

Advanced Rust Programming Techniques - Ownership, Borrowing, and Safe API Design

GOTO Conferences via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore advanced Rust programming concepts in this 40-minute conference talk that goes beyond the commonly discussed ownership and borrowing principles to reveal lesser-known language features for building safe and efficient APIs. Learn what Rust is and understand the core problems it aims to solve in modern systems programming, then dive deep into ownership mechanics and borrowing rules that form the foundation of Rust's memory safety guarantees. Discover how Rust's approach to concurrency enables safe parallel programming while examining practical strategies for working effectively with the borrow checker rather than fighting against it. Master strong encapsulation principles and see how Rust combines ownership, borrowing, and encapsulation to create robust system designs, with detailed coverage of Mutex usage patterns and their underlying mechanisms. Examine real-world examples from the Rust standard library to understand function implementations and explore the unsafe sublanguage that provides low-level control when needed while maintaining overall system safety. Gain insights into advanced techniques that experienced Rust practitioners use to leverage the language's full potential, whether you're looking to deepen your existing Rust knowledge or understand the sophisticated features that make Rust particularly suited for systems programming and concurrent applications.

Syllabus

00:00 Intro
01:47 What is Rust?
04:19 What problems does Rust want to tackle?
06:65 Ownership
11:22 Borrowing
15:56 Summary
16:22 Concurrency
21:13 Fighting the borrow checker?
22:12 Rust: Ownership & borrowing & strong encapsulation
23:04 Encapsulation
24:48 Mutex usage
29:14 What does Mutex do?
30:49 Functions & their implementations
32:26 The unsafe sublanguage
37:17 What we covered
38:26 Conclusions
39:21 Outro

Taught by

GOTO Conferences

Reviews

Start your review of Advanced Rust Programming Techniques - Ownership, Borrowing, and Safe API Design

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.