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

YouTube

Understanding Unsafe Code in Rust - A Practical Guide

RustLab Conference via YouTube

Overview

Explore a comprehensive conference talk that demystifies the concept of 'unsafe' in Rust programming, addressing common misconceptions and examining its practical applications. Delve into what unsafe actually encompasses (which is less than commonly believed) and understand the potential risks of its usage. Learn through real-world examples where unsafe code has caused issues and how it paradoxically helped resolve those same problems. Discover why unsafe should be viewed as a safety feature rather than just a dangerous tool, and gain practical insights into when and how to effectively use unsafe code in production software. Drawing from personal experience and industry expertise, examine the true relationship between unsafe and Rust's borrow checker, correcting widespread misunderstandings even among experienced developers.

Syllabus

Unsafe for Work - Stefan Baumgartner

Taught by

RustLab Conference

Reviews

Start your review of Understanding Unsafe Code in Rust - A Practical Guide

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.