4 ms·
so EIO is a new IO implementation built on top of effect handlers? Will EIO also be part of the stdlib? ie. will the httpaf server library need to import it as
by devmunchies 5y ago
so EIO is a new IO implementation built on top of effect handlers? Will EIO also be part of the stdlib?
ie. will the httpaf server library need to import it as an external dependency like it currently does with lwt, or will EIO already be available?
- rbjorklin 5y agoI just lurk the OCaml forums so don't take what I say as gospel but from what I've understood EIO will _not_ be part of stdlib. The OCaml devs go out of their way to not break things in stdlib so from what I've gathered they don't want to include it EIO until there's more real world experience with it and the API has started to settle down. Including it in stdlib might also never happen but that remains to be seen.
- avsm 5y agoIt's too early to say. Eio is still under very active development, so we'll have to see how it goes. The more useful feedback we get on it now, the more likely it'll be submitted for consideration in the OCaml stdlib when appropriate.