Unsafe Rust and Miri by Ralf Jung - Rust Zürisee June 2023 @RustVideos
Unsafe Rust and Miri by Ralf Jung - Rust Zürisee June 2023  @RustVideos
Uploaded June 2023 | Updated November 2026, 1 week ago
Memory safety is one of the key selling points of Rust. However, even the Rust compiler is not omniscient, so sometimes programmers need to resort to "unsafe" code and take on the responsibility of ensuring memory safety themselves. In this talk I will introduce key terms surrounding unsafe code such as "undefined behavior" and "soundness", and explain how to write unsafe code in a systematic way that reduces the chance of getting it wrong. I will also demonstrate how you can use Miri to check your unsafe code for otherwise hard-to-detect bugs.

Slides: github.com/rust-zurichsee/meetups/tree/master/2023-06-08_miri-simd-hir
Ralf's Blog: ralfj.de/blog

Would you like to chat or give a talk? Join us in our Matrix room:
matrix.to/#/#rust-zuerisee:matrix.coredump.ch

Support the Zürich community: https://estada.ch/support-my-work/

Chapters:
00:00 Introduction
01:45 Rust is a memory-safe language
08:49 Common misconceptions with unsafe code
18:12 Examples of Undefined Behavior
44:28 Questions
Unsafe Rust and Miri by Ralf Jung - Rust Zürisee June 2023Rust and Tell - Berlin - Aya: Extending the Linux Kernel with eBPF and Rust by Michal RosteckiRustConf 2022 - ASYNC RUST: PAST, PRESENT, AND FUTURE GENERAL by Nick CameronKangrejos 2025 Interview: Kora, Senior GPU Architect at Nvidia CorporationRustConf 2022 - WEIRD EXPRESSIONS AND WHERE TO FIND THEM by Michael GattozziRustConf 2025 Interview: Alyssa Haroldsen, Crab Wrangler @ explain.rsRustConf 2022 - Your Open Source Repo Needs A Project Manager by Alice CecileTauri Foundations by Daniel Thompson-Yvetot - Rust Linz, February 2022OS Development - One Year with Rust - by Bernhard Kauer - Rust Linz, November 2022Qdrant - A Search Engine in Rust - Arnaud Gourlay - Rust Linz March 2023Rustc explore session: @compiler-errors hir type-checking (session 1)RustConf 2023 - The standard library is special. Lets change that.
Rust Programming Language |

Unsafe Rust and Miri by Ralf Jung - Rust Zürisee June 2023

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER