~/talk

use <'lifetimes> for <'what>

Talkat Rust Nation UK 2026 · on Thursday, 2026-02-19· [rust]
slides:none on file

Argues that lifetimes are best understood as lifetimes as sets of loans and that a loans-based borrow checker checks which loans are live on each line, not code scopes. Demonstrates with a failing longest example that needs explicit lifetime parameters, shows functions that add or remove loans and a mutable-invariant case that compiles then yields a use-after-free, and explains how variance and higher-ranked lifetimes and a DeserializeOwned‑style pattern let APIs express those relationships.

AI-written summary · about

  1. 0:00Introduction to Rust
  2. 1:33Ownership and referencing
  3. 5:30Lifetimes as loans
  4. 10:01Lifetime parameters
  5. 12:55Subtyping and variance
  6. 22:47Variance on structs
  7. 24:40Higher ranked lifetimes
  8. 29:06Q&A session
~/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.