~/talk

Redefining Stream Composition with Algebraic Effects

Talkat LambdaConf 2025 · 2025-05-12..05-13· [rust]
links:none on file
slides:none on file

Claims that streams are just another algebraic effect and show a concrete implementation: streams become a Kio effect that uses an Emit effect to log values alongside normal effects. Benchmarks compare against FS2 and ZIO and report Kio beating them on synchronous workloads. The implementation removes the duplicated run loops of pull/channel systems, adds allocation‑free tags and nested effect support, ships as modules on Maven Central, and is released as Kio 1.0 RC while noting an invariant‑in‑values limitation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Speaker background
  3. 2:11Streams in effectful computations
  4. 3:14Limitations of iterators
  5. 5:24FS2 and Zio Streams
  6. 8:14FS2 Pull and ZStream
  7. 16:20Duplicated complexity problem
  8. 19:32Introducing Kio
  9. 22:43Kio's effect system
  10. 25:10Kio Streams simplicity
  11. 27:58Stream operators in Kio
  12. 31:09Resource safety in Kio
  13. 32:54Performance benchmarks
  14. 36:22Kio limitations
  15. 38:11Kio 1.0 RC release
  16. 39:39Q&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.