~/talk

The Futures are Calling and I Must Choose

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [career-development]
links:none on file
slides:none on file

Compares concrete async primitives: Scala Futures use an ExecutionContext (global fork/join pool) and submit each map/flatMap as runnables, Twitter Futures execute callbacks on the completing thread and offer cooperative cancellation and timers, Java 8 CompletableFuture provides sync/async variants and a combined promise/future, Monix/Scalaz/FS2 Tasks are lazy, can be memoized, and run on a trampoline scheduler with batched/synchronous modes and async/sync boundaries. Recommends sticking to the library in use, convert with bijections/by‑ejections when needed, and avoid Guava from Scala.

AI-written summary · about

  1. 0:00Introduction to reactive systems
  2. 2:07History of futures
  3. 5:26Scala standard futures
  4. 13:53Future combinators
  5. 15:40Execution model
  6. 17:27Twitter futures
  7. 27:10Java 8 completable futures
  8. 31:05Tasks and lazy futures
  9. 37:00Comparison and recommendations
  10. 39:50Q&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.