ocaml-multicore/eio
View on GitHub ↗ ★ 736 OCaml
Effects-based direct-style IO for multicore OCaml
17 mentions on Hacker News by 10 people: 0 stories, 17 comments · first 2021-12-08 · latest 2026-05-15
20082026
-
…representation retrieval): much easier now with OCaml effects to build custom fast serialisers (see https://github.com/ocaml-multicore/eio ) - Native top-level: ocamlnat is (I think) shipped in OxCaml, but you can also run a wasm toplevel
comment by avsm · 2026-05-15 · in O(x)Caml in Space -
…which I could see as being awesome for any sort of multi-user server process in particular. https://github.com/ocaml-multicore/eio?tab=readme-ov-file#de...
comment by tlavoie · 2025-05-13 · in Why not object capability languages? -
…long enough that it is now being deprecated in favor of Eio[1]: https://github.com/ocsigen/lwt [1] https://github.com/ocaml-multicore/eio
comment by nequo · 2024-08-13 · in Go is my hammer, and everything is a nail -
the actual project (Readme has some code samples): https://github.com/ocaml-multicore/eio
comment by 082349872349872 · 2024-03-20 · in Eio 1.0 Release: Introducing a new Effects-Based I/O Library for OCaml -
For 5.0+ you might want to look at https://github.com/ocaml-multicore/eio for how effects can make async much more pleasant
comment by sadiq · 2023-11-12 · in OCaml: a Rust developer's first impressions -
> like at Eio Look at Eio here: https://github.com/ocaml-multicore/eio
comment by cies · 2022-12-16 · in OCaml 5.0 Multicore is out -
…ala-lang.org/scala3/reference/experimental/cc... But also the development in OCaml seems interesting: https://github.com/ocaml-multicore/eio#design-note-capabilit... Look mom, "effects", but without the monad headache!
comment by still_grokking · 2022-11-16 · in What’s so great about functional programming anyway? -
It's used by Eio in OCaml for the Linux backend: https://github.com/ocaml-multicore/eio .
comment by Zababa · 2022-10-16 · in Efficient IO in Linux with io_uring [pdf] (2019) -
Here's an example using OCaml 5 to run multiple fibers concurrently (look - no monads!): https://github.com/ocaml-multicore/eio#fibers
comment by talex5 · 2022-09-27 · in Why OCaml? -
…high performance, direct-style IO library for OCaml. You can walk through some of the code here: https://github.com/ocaml-multicore/eio#getting-started Also a video talk about our experiences with using effects for writing parsers, from…
comment by avsm · 2022-06-15 · in OCaml 5.0 Alpha Release -
…[3] https://discuss.ocaml.org/t/the-road-to-ocaml-5-0/8584 [4] https://github.com/ocaml-multicore/eio [5] https://github.com/anuragsoni/sandbox/tree/main/ocaml/effect...
comment by anuragsoni · 2022-05-16 · in Soupault 4.0.0: as extensible as Jekyll, still statically linked -
work has already begin on a direct-style IO library that internally uses effects. See: - https://github.com/ocaml-multicore/eio#readme for more information on the Eio library - https://watch.ocaml.org/videos/watch/74ece0a8-380f-4e2a-bef5...…
comment by avsm · 2022-01-10 · in OCaml Multicore merged upstream -
Work has already started: https://github.com/ocaml-multicore/eio There's also now https://github.com/talex5/lwt_eio , which allows you to run existing Lwt code alongside code using effects, to aid with porting.
comment by talex5 · 2022-01-10 · in OCaml Multicore merged upstream -
…model in the upcoming OCaml 5.0, however it's only in the Eio library, that deals with IO https://github.com/ocaml-multicore/eio#design-note-object-ca... . There's also Emily, a subset of OCaml based on POLA (Principle of Least Authority)…
comment by Zababa · 2022-01-10 · in State of the Web: Deno -
…available). The README shows an example of a pool of workers pulling jobs from an Eio.Stream: https://github.com/ocaml-multicore/eio#example-a-worker-pool We're still exploring what APIs to provide for this kind of thing, and in particular…
comment by talex5 · 2021-12-22 · in PR to Merge Multicore OCaml -
…the recorded trace, for example. The Eio README has more information, plus a getting-started guide: https://github.com/ocaml-multicore/eio/blob/main/README.md
comment by talex5 · 2021-12-21 · in PR to Merge Multicore OCaml -
…going through something similar, with some solutions in sight. The "motivation" part of the eio ( https://github.com/ocaml-multicore/eio ) documentation is a great introduction: "The Unix library provided with OCaml uses blocking IO…
comment by Zababa · 2021-12-08 · in Portable and Interoperable Async Rust