Polly is an OCaml binding for the Linux epoll system call:
- Small, simple, and self-contained
- Avoids most allocation in the event loop
- MIT licensed
Note that epoll is specific to Linux and that this library won't compile on macOS, for example.
As of version 0.2.2, Polly is now in Opam and can be installed from there:
opam install polly
Most recently version 0.4.1 was submitted to Opam.
make utop
ordune utop
launches a utop toplevel that has the library loaded for interactive use.
If you find this useful, please contribute back by raising pull requests for improvements you made.