~/talk

TAKING YOUR SIDE-EFFECTS ASIDE

Talkat Scalar Conference 2017 · 2017-04-07..04-08· [scala]
slides:none on file

Builds a lazy IO type in Scala that starts as a simple data wrapper for side effects, then makes it stack-safe by representing flatMap as data and using monad associativity to trampoline recursive binds, and finally adds asynchronous support via a register(callback) primitive implemented with a latch. Demonstrates that this approach avoids Future’s eager execution, tests with a forever loop to expose stack overflow, and recommends Monix/fs2 (Task) as production-ready.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Splitting a Side Effect
  3. 7:53IO
  4. 20:15Run
  5. 25:46Code
~/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.