Fast native fibers for OCaml.
Fibers are implemented by tying together libcoro and OCaml's GC
hooks. This design allows allocation free context switches with
decent performance. For example, i7-8750H running Linux can perform
about 13.7M fiber context switches per second. If you want to measure
it by yourself just run make bench
from the source directory.
Also, there are few examples in examples directory.
dune
odoc
if you are planning to build documentation.bisect-ppx
andlcov
are required for coverage testing.
make
build librarymake install
install librarymake bench
run benchmarkmake doc
build documentationmake test
run testsmake coverage
run tests with coverage reporting
This project is licensed under the BSD License