~/talk

Rust: safe and concurrent. But how does it do it?

TalkinFrenchat Devoxx France 2021 · 2021-09-29..10-01· [rust]
slides:none on file

Rust enforces memory safety and race-free concurrency without a garbage collector by applying ownership rules at compile time and using zero-cost abstractions. It explains the ownership and borrow checker, lifetimes and Drop for deterministic cleanup, and the smart pointers Box, Rc and Arc for heap allocation and safe shared ownership, showing how the compiler rejects unsafe moves, mutable-vs-immutable aliasing, and unsafe concurrent reference counting to prevent data races.

AI-written summary · about

  1. 0:00Start
  2. 8:43Memory model
  3. 14:40Rust: Borrow checker
  4. 31:34Trait Drop
  5. 41:10Smart pointer: Rc
  6. 43:26Trait Send & Sync
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.