0:00 / 0:00
Scala with ZIO: Introduction to Fibers
Rock the JVM
27K subscribers • 59 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- May be out of date. The tools, versions or practices it shows have likely moved on.
Intermediate. Assumes working knowledge.
12K views5 years ago1 recommendation
Programming languagesSystems programmingScalaConcurrency and parallelism
An introduction to lightweight concurrency in Scala using ZIO fibers, covering fork, join, interruption, and comparison with Cats Effect.
Written version: blog.rockthejvm.com/zio-fibers/ Compare this with Cats Effect Fibers: youtube.com/watch?v=TBe0_iVOYSM This video is a quick dive into ZIO and the effect pattern. We're going to model synchronous and asynchronous computations on top of lightweight threads, aka fibers. Both Scala 2.13 and Scala 3 are identically applicable for this video. We discuss - how to run ZIO instances sequentially, on the same thread - how to create a Fiber via fork - how to wait for a Fiber to finish via join - how to interrupt Fibers - how to make Fibers ignore interruption signals Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: blog.rockthejvm.com ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------