~/talk

Async Rust: Past, Present, and Future

Talkat RustConf 2022 · on Friday, 2022-08-05· [rust]
slides:none on file

async and await are stable since 2018 but code still needs a third party runtime to run, and an async function returns an inert future that does nothing until polled or awaited. futures implement poll and a runtime schedules them, which makes cancellation trivial because dropping a future stops progress and can cause surprising errors — cancellation on drop can lead to data loss and use after free with completion io. work targets return-position impl Trait, GATs, IntoFuture, owned-read/buffer strategies, and better debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 1:59What makes Rust unique
  3. 3:05Design principles
  4. 6:15Coroutines
  5. 8:31Futures
  6. 9:34Async
  7. 13:44Aweight
  8. 14:32Into Future Traits
  9. 19:02Completion IO
  10. 26:37Summary
~/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.