Hacker GitHub

← All repos

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

Mentions per year 17 mentions · busiest year 2022 (9)
20082026
  1. …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
  2. …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?
  3. …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
  4. the actual project (Readme has some code samples): https://github.com/ocaml-multicore/eio
  5. For 5.0+ you might want to look at https://github.com/ocaml-multicore/eio for how effects can make async much more pleasant
  6. > 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
  7. …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!
  8. It's used by Eio in OCaml for the Linux backend: https://github.com/ocaml-multicore/eio .
  9. 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?
  10. …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
  11. …[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...
  12. 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
  13. 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
  14. …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
  15. …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
  16. …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
  17. …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