~/talk

The Futures are Calling and I Must Choose

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [frontend-architecture]
links:none on file
slides:none on file

Compares Scala Futures, Twitter Futures, Guava ListenableFutures, Java CompletableFutures and lazy Tasks (Scalaz/Monix/FS2) with concrete interoperability code and runtime gotchas: finagle/protobuf use brings Twitter Futures into a Java codebase, by-ejection converts Twitter↔Scala Futures without wrapping repeatedly, GFC helps Guava↔Scala conversion, CompletableFuture works best for Java interop. Notes runtime differences: cooperative cancellation (Twitter/Tasks), immediate callback execution when a Twitter Future is already completed, ignored interrupt flag on CompletableFuture.cancel, and the need to control execution pools.

AI-written summary · about

  1. 0:00Intro
  2. 0:24The Reactive Manifesto
  3. 1:35What is the future really
  4. 1:55History lesson
  5. 2:54Outline
  6. 3:18Scala Futures
  7. 4:46Apply
  8. 5:10Promise
  9. 5:58Callbacks
  10. 6:29Map Flatmap
  11. 10:03Fork Join Pool
  12. 11:26Twitters Future
  13. 11:59Standard Combinators
  14. 13:42Standard Combinators
  15. 14:20Execution Context
  16. 15:44Future Pool
  17. 16:47Cancellation
  18. 18:46Twitter and Scala
  19. 19:56Listenable Future Guava
  20. 21:30Listenable Future Helper
  21. 22:39Transforms and Callbacks
  22. 23:35Type Interfaces
  23. 24:44Guava
  24. 26:39completable future
  25. 27:48apply async
  26. 28:37executor
  27. 30:47task
  28. 32:54monix
  29. 35:29Recommendations
  30. 36:32Reactive Extensions
  31. 37:25Questions
~/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.