YoVDO

Demystifying Unsafe Code in Rust

Offered By: Rust via YouTube

Tags

Rust Courses Concurrency Courses Memory Safety Courses Systems Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of unsafe code in Rust through this 30-minute conference talk by Jon Gjengset at Rust NYC. Delve into the complexities of unsafe code, understanding its necessity, potential dangers, and responsible usage. Learn about working with hardware, external code, and concurrency primitives. Discover performance optimization techniques and the risks associated with unsafe practices. Examine real-world examples like "Playing Russian Roulette" and "Lazy Drop Offset of Macro" to grasp the integrity of unsafe code. Gain valuable insights into internal unsafe code implementation and how to navigate this powerful yet potentially hazardous aspect of Rust programming.

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

Related Courses

The Rust Programming Language
Udemy
Rust for Beginners: Learn Rust in 4 Hours
Udemy
Learn Rust by Building Real Applications
Udemy
Rust Essential Training
LinkedIn Learning
Rust
Exercism