~/talk

The Rust Borrow Checker - A Deep Dive

Talkat Rusty Days 2020 · 2020-07-27..08-02· [rust]
slides:none on file

The talk claims the borrow checker not only enforces safety but actively guides fixes, and demonstrates that by compiling examples with cargo run and tracing through HIR into MIR before lowering to LLVM. It shows a concrete move-vs-borrow example where moving a String causes a use-after-move error and switching to a reference prints the string twice, explains how the checker tracks initializations and lifetimes, notes the five compiler stages, and mentions ongoing work like Polonius and Chalk.

AI-written summary · about

  1. 0:00Intro
  2. 8:07Who am I
  3. 19:51Rust Compiler
  4. 23:00Tracking Initializations
  5. 26:40Example Code
  6. 26:52Using a Reference
  7. 27:44Lifetime Inference
  8. 27:55Lifetime Scope
  9. 29:00Lifetime
  10. 32:11Conclusion
  11. 33:14Questions
  12. 35:52Twitch Questions
  13. 38:29YouTube Questions
  14. 45:53Rust vs Ruby
  15. 46:55Extra Checks
  16. 48:48Explicit Lifetimes
  17. 50:17Back Pressure
~/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.