~/talk

Workshop: The Ownership System in Rust

TalkinRussianat RustCon 2024 · on Friday, 2024-12-06· [rust]
links:none on file
slides:none on file

Hands-on workshop covering Rust’s ownership model and safe memory management, including stack/heap allocation and smart pointers like RefCell. It explains using RefCell versus mutexes and techniques for managing state in async and multithreaded programs to safely handle resources.

AI-written summary · about

  1. 0:00Ownership introduction
  2. 0:25Shared mutability limits
  3. 1:11Thread safety with Mutex Arc
  4. 3:07Mutex demo thread-safe
  5. 7:28Atomics vs Mutex
  6. 10:00AtomicPtr demo complex data
  7. 18:23Memory ordering in atomics
  8. 22:49Async example with atomics
  9. 28:27Atomic programming challenges
  10. 33:12Single-threaded mutation risks
  11. 34:41Cell RefCell single-threaded
  12. 37:15RefCell demo async tasks
  13. 41:37Mutex to Cell conversion
  14. 42:43Cross-task communication Cell
  15. 44:06Ownership system summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.