aramid ๐งต
Synthetic fibers!
- very much WIP ๐ง
- Fibers are little state machines that behave like
coroutines: when spun, they yield and yield, and then they return. In the
meantime, they carry their stack around with them.
- Fibers are a model of concurrent computation. They are static, lightweight and
well-suited for cooperative multitasking.
- Fibers can represent iterators over their yielded values; and closures can be
fibers that live on the heap.
Getting started