~/talk

How Rust taught me to think about systems

Talkat RustCon Asia 2019 · 2019-04-20..04-23· [rust]

Concrete examples of the borrow checker and how they get fixed: a rolling CSV→JSON iterator that initially fails with temporary-value and lifetime errors but is refactored to own or borrow correctly, use of std::io::BufRead and MutexGuard lifetimes, explanations of Copy vs Clone and affine-type ideas, and a concurrency demo with 20 threads race example that moves to Arc/Mutex/RwLock showing what compiles and what fails. The slides and exact compiler errors are shown and repaired.

AI-written summary · about

  1. 0:00Start
  2. 3:32Disclaimer
  3. 3:54Variable Bindings
  4. 9:03Destructible Values
  5. 9:33Affine Types
  6. 10:49Why this and Pointers Are Hot in C
  7. 20:08Threads
~/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.