~/talk

Who Owns This Stream of Data?

Talkat RustCamp 2015 · on Saturday, 2015-08-01· [rust]
links:none on file
slides:none on file

Rust's iterator APIs map ownership precisely: into_iter / iter / iter_mut / drain give owned values, shared refs, exclusive refs, and partial moves; the borrow checker and lifetimes (e.g. using slice split_at) explain why calling next repeatedly is safe and why indexing or swap_remove is needed for concurrent modification. A proposed streaming iterator links lifetimes to forbid repeated next and enable prev/insert/remove operations; a concrete cursor on a linked list proves the idea works today.

AI-written summary · about

  1. 0:00Start
  2. 0:48Let's talk about this for 30 minutes
  3. 2:58Collection Iterator Dream Team
  4. 4:36Iter - Shared References (&T)
  5. 13:16Why does the API allow this?
  6. 17:39Borrow Checker Escape Hatch: Indices!
  7. 21:30Good Actual mutual exclusion!
  8. 22:23Going Backwards!
  9. 22:57Going Crazy!
  10. 23:26We don't need no stinkin' traits!
  11. 24:44Conclusions
~/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.