Cats Effect 3
summary
Cats Effect 3 presents a ground-up IO implementation with a redesigned typeclass hierarchy (spawn, concurrent, temporal, sync, async), built-in fromCompletableFuture and blocking/interruptible primitives, an execution context users can summon, and a new dispatcher for safe callbacks. The runtime claims zero allocations during interpretation, fiber-aware schedulers, and big real-world gains: a high-contention scatter/gather benchmark shows 55x faster than a fixed thread pool, a JSON-style heat test ~2x, and an fs2/netty echo server within ~12–15% of tuned raw Netty.
AI-written summary · about
chapters (9)
- 0:00Introduction to Cats Effect 3
- 1:10Design philosophy and goals
- 3:56Evolution from Cats Effect 2
- 7:46User experience improvements
- 12:02New core calculus explained
- 17:35Type class hierarchy breakdown
- 23:51IO implementation details
- 29:26Performance benchmarks results
- 38:08Ecosystem and release plans
related talks
32mCATS EFFECT - DISPATCHER, SUPERVISOR, IOLOCAL
36mConcurrency with Cats-effect
23mEffects types in Scala - how to choose one
31mPick a (Effect) Lane: A comparison of direct-style Scala vs effect systems
01h 00mScala. The War of Effects. ZIO vs Cats Effect
43mThe Design of the Scalaz 8 Effect System
36mThe Good, The Bad, and the Ugly: A Journey from this synchronized to Asynchronous Code
42mThe making of an IO
