~/talk

Lawful Asynchronous Programming

Talkat Scala World 2015 · 2015-09-20..09-22· [concurrency, functional-programming]
slides:none on file

Deep dive into scalaz-stream shows the current algebra hinges on an await node as free monad that makes effects omnipresent and causes real bugs: unpredictable tail-flipping and lost associativity, dropped error details, and very poor throughput (benchmarks show it is ~10x slower than Akka Streams). The library still guarantees finalizers and referential transparency, but the redesign (FS2 / 0.9) splits stream structure from effects, adds first-class stepping, becomes effect-agnostic (not locked to Task), and ships a normal form plus law tests.

AI-written summary · about

  1. 0:00Start
  2. 2:22What is Async?
  3. 3:56What are laws?
  4. 24:24Referential Transparency
  5. 26:37File Manipulation
  6. 29:19Concurrency
  7. 32:49Finalizers
  8. 34:48Transduction
  9. 40:02What about effects?
  10. 42:37Complexity
  11. 43:50False Freedom
  12. 46:42Consequences
  13. 54:20Lessons
~/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.