#fibers

[ follow ]
fromMedium
1 month ago

Achieving True Parallelism with ZIO: Fibers, Threads, and Cooperative Scheduling

Fibers in ZIO are lightweight, user space threads, essentially "green threads" managed by the ZIO runtime, not the OS. They are extremely cheap to create and can scale in the tens of thousands without the memory overhead of OS threads.
Scala
[ Load more ]