~/talk

A better way of doing Async Rust

Talkat Rustikon 2025 · on Wednesday, 2025-03-26· [rust, concurrency]
links:none on file
slides:none on file

Shows a working HTTP server that fetches posts from JSONPlaceholder, adds a cache, and demonstrates how structured concurrency removes the need for pervasive Arc/Mutex and Send+'static clutter — the code compiles and runs without unsafe statics. Explains why Tokio multi-threaded scheduler forces futures to be Send, and how alternatives (single-threaded or thread-per-core) avoid that. Implements non-'static handlers with futures_unordered and a higher-level Morrow scope, and cites Limbo with ~90 contributors and ~10,000 stars as a real-world success.

AI-written summary · about

  1. 0:00Introduction
  2. 0:10Rust in database projects
  3. 1:10Limbo project overview
  4. 1:49Example application
  5. 2:50Basic implementation
  6. 4:00Caching and lifetimes
  7. 7:18Structured concurrency
  8. 10:05Understanding Send/Sync
  9. 13:12Optimizing async code
  10. 15:05Conclusion and Q&A
~/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.