~/talk

Channels in Rust: The Art of Concurrency

Talkat Rustikon 2026 Β· 2026-03-19..03-20Β· [rust, concurrency]
links:none on file
slides:none on file

Explains how Rust channels actually behave: std gives bounded vs unbounded where an unbounded sender can exhaust memory and bounded blocks the sender after a buffer (eg buffer of 10 then block on 11); sending transfers ownership so ownership moves over channels and you can clone senders but not receivers (MPSC: clone senders only). Compares std, crossbeam (claims atomics-based), tokio async channels, one-shot, watch, broadcast vs sync broadcast with backpressure and cancellation tokens used in kube-rs.

AI-written summary Β· about

  1. 0:00Introduction
  2. 2:10Mutexes vs channels in Rust
  3. 3:34Ownership transfer in channels
  4. 4:18Unbounded vs bounded channels
  5. 5:21MPSC channels sync
  6. 6:45Try send and error handling
  7. 7:48Crossbeam channels
  8. 9:32Async channels with Tokio
  9. 11:58One-shot channels
  10. 13:46Fan-in pattern
  11. 15:56Broadcast channels
  12. 18:01Sync broadcast limits
  13. 20:52Tokio select for channels
  14. 22:38Watch channels
  15. 24:47Graceful shutdown
  16. 26:11Back pressure strategies
  17. 28:37Cancellation tokens
  18. 30:22Channel types summary
  19. 30:42Open source contributions
~/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.