Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add angstrom-eio #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

SGrondin
Copy link

This PR adds support for the new Eio concurrency library.

Eio is a modern concurrency library. Notably, it leverages OCaml 5's native concurrency support, solves the colored function problem, and uses Io_uring -when available- to achieve impressive performance numbers.

The interface of angstrom-eio closely matches that of angstrom-lwt-unix.

Note: I did not update .github/workflows/test.yml because I'm unsure how you'd like to update it, since angstrom-eio requires OCaml 5.0.0

@@ -0,0 +1,20 @@
opam-version: "2.0"
maintainer: "Simon Grondin"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I change this?

@SGrondin SGrondin force-pushed the angstrom-eio branch 2 times, most recently from b7ee038 to 137d5ba Compare June 12, 2023 14:04
@edwintorok
Copy link
Contributor

cc @talex5 I think you had some 'eio' optimizations too, but adding some minimal support for 'eio' first is probably best

@talex5
Copy link
Contributor

talex5 commented Jul 5, 2023

cc @talex5 I think you had some 'eio' optimizations too, but adding some minimal support for 'eio' first is probably best

My angstrom-eio branch rewrites everything to use effects, but that loses support for OCaml 4 and Lwt, so it's unlikely to be merged any time soon.

@SGrondin
Copy link
Author

@seliopou I've updated it for Eio 0.12, all tests are passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants