Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
12 июня 2023 г. 21:00:40
00:54:51
Другие видео канала
Carl Kadie - 9 Rules for Creating (...) Data Structures - Rust LinzCarl Kadie - 9 Rules for Creating (...) Data Structures - Rust LinzVerus - Verified Rust for low-level systems code by Andrea Lattuada - Rust Zürisee June 2023Verus - Verified Rust for low-level systems code by Andrea Lattuada - Rust Zürisee June 2023SIMD instructions with Rust on Android by Guillaume Endignoux - Rust Zürisee June 2023SIMD instructions with Rust on Android by Guillaume Endignoux - Rust Zürisee June 2023Bay Area Rust May 2023: Raph Levien on Xilem Vector GraphicsBay Area Rust May 2023: Raph Levien on Xilem Vector GraphicsWriting Performant Concurrent Data Structures by Adrian Alic - Rust Zürisee March 2023Writing Performant Concurrent Data Structures by Adrian Alic - Rust Zürisee March 2023Introduction to Rust programming on bare metal hardware by Mike Kefeder - Rust Zürisee March 2023Introduction to Rust programming on bare metal hardware by Mike Kefeder - Rust Zürisee March 2023Encrypted File System for Rust/Android Applications by Stefan Schindler - Rust Zürisee Feb 2023Encrypted File System for Rust/Android Applications by Stefan Schindler - Rust Zürisee Feb 2023RustcContributor::explore @lcnr session: walkthrough of -Ztrait-solver=nextRustcContributor::explore @lcnr session: walkthrough of -Ztrait-solver=nextProfiling Code in Rust - by Vitaly Bragilevsky - Rust Linz, December 2022Profiling Code in Rust - by Vitaly Bragilevsky - Rust Linz, December 2022Nine Rules for Creating Procedural Macros in Rust - by Carl Kadie - Rust Linz, December 2022Nine Rules for Creating Procedural Macros in Rust - by Carl Kadie - Rust Linz, December 2022Rust Zürisee, Dec 2022: Supercharging Zero-Copy DeserializationRust Zürisee, Dec 2022: Supercharging Zero-Copy DeserializationRust Zürisee, Dec 2022: Next Generation i18n with Rust Using ICU4XRust Zürisee, Dec 2022: Next Generation i18n with Rust Using ICU4XRustcContributor::explore @compiler-errors session: method selectionRustcContributor::explore @compiler-errors session: method selectionOS Development - One Year with Rust - by Bernhard Kauer - Rust Linz, November 2022OS Development - One Year with Rust - by Bernhard Kauer - Rust Linz, November 2022Embedded Rust on ESP32 - Juraj Michálek - Rust Linz November 2022Embedded Rust on ESP32 - Juraj Michálek - Rust Linz November 2022RustcContributor::explore: @eholk session - dyn* and dyn async fnsRustcContributor::explore: @eholk session - dyn* and dyn async fnsA Cellular Automaton with Rust and Bevy - Diemo Heuer - Rust Linz, October 2022A Cellular Automaton with Rust and Bevy - Diemo Heuer - Rust Linz, October 2022AMD Hypervisor with Rust - Matthias Heiden - Rust Linz, October 2022AMD Hypervisor with Rust - Matthias Heiden - Rust Linz, October 2022Boxes, Heaps, and Stacks - Tim McNamara - Rust Linz, September 2022Boxes, Heaps, and Stacks - Tim McNamara - Rust Linz, September 2022Rustberry Pi: Baby-steps in Embedded Rust - Lisa Passing - Rust Linz, September 2022Rustberry Pi: Baby-steps in Embedded Rust - Lisa Passing - Rust Linz, September 2022
Яндекс.Метрика