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

YouTube

Demystifying Unsafe Code in Rust

Rust via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains what unsafe code means in Rust, why it can be useful and dangerous, and how to handle it responsibly. It discusses applications including hardware, external code, concurrency primitives, and performance optimization.

Syllabus

Introduction
Why we need unsafe
Working with hardware
Working with external code
Working with concurrency primitives
Performance optimization
Unsafe can go wrong
Playing Russian Roulette
Lazy Drop
Offset of Macro
Integrity of unsafe code
Internal unsafe code

Taught by

Rust

Reviews

Start your review of Demystifying Unsafe Code in Rust

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.