~/talk

RLoop: an AsyncIO event loop implemented in Rust

Talkat PyCon Italia 2025 · 2025-05-28..05-31· [rust]
links:none on file
slides:none on file

RLoop is an AsyncIO event loop written in Rust that is usable but in alpha state. It implements selector-based AsyncIO (no Windows proactor) with roughly 1000 lines of Rust and a core 300-line loop. Benchmarks show TCP performance gains of 2–18% over CPython’s stdlib and about ~6% versus uvloop in some cases; HTTP results are mixed (not faster than uvloop on Granion) and Linux testing produces inconsistent outliers, including one 4x regression.

AI-written summary · about

  1. 0:00Introduction and journey
  2. 1:29What is an event loop
  3. 6:07Coroutines and futures
  4. 8:14Tasks and control flow
  5. 10:04Why implement an event loop
  6. 11:50Limitations of uvloop
  7. 13:19Why Rust for the event loop
  8. 14:45Reasons to use Rust
  9. 16:51Downsides of Rust
  10. 18:15Abstraction layers in CPython
  11. 18:59Protocols and transports
  12. 20:04RLoop status and features
  13. 20:25Performance benchmarks
  14. 21:54HTTP performance results
  15. 22:37Future plans and Windows
  16. 23:40Final thoughts and summary
  17. 24:22Q&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.