Trading in Futures
summary
Covers concrete Scala 2.12 changes and practical demos: deprecation of onSuccess/onFailure, new Future.flatten to avoid identity allocation, a transformWith/transform trio that enables composing try-to-try and try-to-future logic and powers root compression, added Future.unit and a nonleaking Future.never, and blockContext/blocking hooks plus ExecutionContext shown as a pluggable interpreter. A live demo builds a manual ExecutionContext queue that initially fails until the queue is drained, proving the interpreter model, and notes ForkJoinPool common pool naming and tuning.
AI-written summary · about
chapters (4)
- 0:00Start
- 0:48WHAT IS A SCALA.CONCURRENT.FUTURE
- 6:30ASYNC VS SYNC WHAT HAPPENS WHERE AND WHEN?
- 42:16QUESTIONS?
related talks
21mFutures: Twitter vs Scala
55mBack to the CompletableFuture: Concurrency in Action
01h 00mIntro to FP in Scala: Exploring a Toolbox for Solving Problems - Part 2 of 6
30mDistributing systems in Scala with Fiangle
27mComputation Expressions in Scala
45mHOW I UNDERSTOOD MONAD TRANSFORMERS
23mEffects types in Scala - how to choose one
43mSurviving a world overflowing with effects
