~/talk

Scalaz Stream: Rebirth

Talkat Scale By The Bay 2018 · 2018-11-15..11-17· [scala, reactive-programming]
slides:none on file

A next-generation scalaz-stream reimplementation targets the Scalaz 8 / ZIO effect model, exposing only Stream and Sink and abandoning spine deconstruction and cyclical graphs to gain leak-free resource handling and automatic interruption. Implementation uses a left-fold/final encoding with continuations to suspend and transfer iteration, plus a toQueue primitive for composition. Benchmarks: 50M-int sum shows ~20× Akka speed, CSV tokenization is ~3× faster than FS2 (and 30× Akka in one test). Source, tests, docs and benchmarks are on a live pull request; queues and some fusion need further optimization.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24Modernizing ScalaZ Stream
  3. 3:34Motivation and API sneak peek
  4. 10:43Core abstractions: Stream and Sink
  5. 20:18Performance benchmarks
  6. 24:15Stream design: Folds vs initial encoding
  7. 31:52Overcoming fold limitations
  8. 37:28Future roadmap
  9. 40:16Q&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.