~/talk

Effects types in Scala - how to choose one

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

Explains why Scala standard futures are already running (non-cancelable) while Twitter futures are cancelable, and compares Scalaz Task, Monix Task, cats-effect IO and ZIO, claiming cats-effect supports cancelable IO and runs on JVM executors or JS event loop. Notes performance is “neck-to-neck” between cats-effect and Scalaz IO, shows four Hello World implementations across libs, demonstrates wrapping a Future in an IO to defer evaluation and interoperate between effect types.

AI-written summary · about

  1. 0:00Introduction to effects
  2. 3:11Why not use Futures
  3. 9:12Scala IO and Task
  4. 12:07Cats Effect IO
  5. 14:14ZIO IO and purity
  6. 16:44Interoperability between types
  7. 19:17Demo and examples
~/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.