Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lindig/polly
OCaml bindings for Linux epoll(2)
https://github.com/lindig/polly
linux-epoll ocaml ocaml-bindings
Last synced: about 2 months ago
JSON representation
OCaml bindings for Linux epoll(2)
- Host: GitHub
- URL: https://github.com/lindig/polly
- Owner: lindig
- License: mit
- Created: 2018-12-11T16:18:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T18:38:55.000Z (10 months ago)
- Last Synced: 2024-04-20T00:54:09.198Z (9 months ago)
- Topics: linux-epoll, ocaml, ocaml-bindings
- Language: OCaml
- Size: 49.8 KB
- Stars: 9
- Watchers: 6
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
Awesome Lists containing this project
README
![Build Status](https://github.com/lindig/polly/actions/workflows/workflow.yml/badge.svg)
# Polly
Polly is an [OCaml] binding for the Linux [epoll] system call:
* Small, simple, and self-contained
* Avoids most allocation in the event loop
* MIT licensedNote that [epoll] is specific to Linux and that this library won't
compile on macOS, for example.## Installation
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].
## Using inside utop
* `make utop` or
* `dune utop`launches a utop toplevel that has the library loaded for interactive
use.## Other Epoll Bindings
* [OCaml Backpack](https://github.com/jimenezrick/ocaml-backpack/)
* [Jane Street Core](https://github.com/janestreet/core)## Contribute
If you find this useful, please contribute back by raising pull
requests for improvements you made.[OCaml]: https://www.ocaml.org/
[epoll]: http://man7.org/linux/man-pages/man2/epoll_wait.2.html
[Opam]: http://opam.ocaml.org/
[submitted]: https://github.com/ocaml/opam-repository/pull/24212