~/talk

FS2 Internals: Performance

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [functional-programming]
slides:none on file

FS2 0.10 (milestone8) claims major speedups: common take implementations run about 4–5× faster than 0.9 and some microbenchmarks jump from ~11k to ~50k+ ops/sec. It standardizes on Cats Effect IO, replaces Task, and simplifies APIs. Performance comes from staging via segments that compile fused operators to an imperative step machine, plus chunks and fusion to avoid intermediate allocations. The algebra becomes a single free C with a fail constructor to preserve resource safety while enabling async pools.

AI-written summary · about

  1. 0:00Intro
  2. 0:44Functional Streams for Scala 0.10
  3. 1:56Ecosystem
  4. 7:29API Example: Exponential Backoff
  5. 11:040.9 Type Classes
  6. 12:110.10 Type Classes
  7. 14:15Variance Tricks
  8. 20:44Why Segments?
  9. 30:08Free with a catch
  10. 31:42Core Algebra
  11. 32:35Four Takes
  12. 37:18FS2 Internals
~/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.