Unsafe Rust and Miri by Ralf Jung - Rust Zürisee June 2023
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: https://github.com/rust-zurichsee/meetups/tree/master/2023-06-08_miri-simd-hir
Ralf's Blog: https://ralfj.de/blog/
Would you like to chat or give a talk? Join us in our Matrix room:
https://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 2023 канала Rust
Slides: https://github.com/rust-zurichsee/meetups/tree/master/2023-06-08_miri-simd-hir
Ralf's Blog: https://ralfj.de/blog/
Would you like to chat or give a talk? Join us in our Matrix room:
https://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 2023 канала Rust
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Carl Kadie - 9 Rules for Creating (...) Data Structures - Rust Linz](https://i.ytimg.com/vi/09vg_GMftE8/default.jpg)
![Verus - Verified Rust for low-level systems code by Andrea Lattuada - Rust Zürisee June 2023](https://i.ytimg.com/vi/ZZTk-zS4ZCY/default.jpg)
![SIMD instructions with Rust on Android by Guillaume Endignoux - Rust Zürisee June 2023](https://i.ytimg.com/vi/x5tK5ET6Q1I/default.jpg)
![Bay Area Rust May 2023: Raph Levien on Xilem Vector Graphics](https://i.ytimg.com/vi/XjbVnwBtVEk/default.jpg)
![Writing Performant Concurrent Data Structures by Adrian Alic - Rust Zürisee March 2023](https://i.ytimg.com/vi/XKODaZgKcnE/default.jpg)
![Introduction to Rust programming on bare metal hardware by Mike Kefeder - Rust Zürisee March 2023](https://i.ytimg.com/vi/KECu_piSM5s/default.jpg)
![Encrypted File System for Rust/Android Applications by Stefan Schindler - Rust Zürisee Feb 2023](https://i.ytimg.com/vi/Lyv6ybfOSjs/default.jpg)
![RustcContributor::explore @lcnr session: walkthrough of -Ztrait-solver=next](https://i.ytimg.com/vi/4E5x2PzEKhg/default.jpg)
![Profiling Code in Rust - by Vitaly Bragilevsky - Rust Linz, December 2022](https://i.ytimg.com/vi/JRMOIE_wAFk/default.jpg)
![Nine Rules for Creating Procedural Macros in Rust - by Carl Kadie - Rust Linz, December 2022](https://i.ytimg.com/vi/DMLBBZBlKis/default.jpg)
![Rust Zürisee, Dec 2022: Supercharging Zero-Copy Deserialization](https://i.ytimg.com/vi/DM2DI3ZI_BQ/default.jpg)
![Rust Zürisee, Dec 2022: Next Generation i18n with Rust Using ICU4X](https://i.ytimg.com/vi/ZzsbN7HBd7E/default.jpg)
![RustcContributor::explore @compiler-errors session: method selection](https://i.ytimg.com/vi/CZe9D2J_psY/default.jpg)
![OS Development - One Year with Rust - by Bernhard Kauer - Rust Linz, November 2022](https://i.ytimg.com/vi/uB9hdaPoUxg/default.jpg)
![Embedded Rust on ESP32 - Juraj Michálek - Rust Linz November 2022](https://i.ytimg.com/vi/0PPPdqoDBQs/default.jpg)
![RustcContributor::explore: @eholk session - dyn* and dyn async fns](https://i.ytimg.com/vi/6mbPY4Mxzys/default.jpg)
![A Cellular Automaton with Rust and Bevy - Diemo Heuer - Rust Linz, October 2022](https://i.ytimg.com/vi/rOFlUvMfOHQ/default.jpg)
![AMD Hypervisor with Rust - Matthias Heiden - Rust Linz, October 2022](https://i.ytimg.com/vi/7igpsgCZJY4/default.jpg)
![Boxes, Heaps, and Stacks - Tim McNamara - Rust Linz, September 2022](https://i.ytimg.com/vi/DEE1GKMbtgw/default.jpg)
![Rustberry Pi: Baby-steps in Embedded Rust - Lisa Passing - Rust Linz, September 2022](https://i.ytimg.com/vi/IgC2HvBesms/default.jpg)