-
Notifications
You must be signed in to change notification settings - Fork 30
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
sequential (OCaml 4) implementation of Task #95
Comments
Thanks for opening the issue! Indeed, the idea was to have a sequential implementation of the Kate mentioned compiling with My dune foo isn't great either, @kit-ty-kate suggested inserting appropriate |
Yes, I believe that I tested |
Over at https://gitlab.com/gasche/domain-shims/-/issues/1, @Sudha247 expressed interest in relying on domain-shims to provide an OCaml 4 version of domainslib. But domain-shims, a pure-OCaml implementation of OCaml 5's
Domain
stdlib module, cannot support effect handlers, so we cannot support the current implementation of domainslib Task module.I'm creating this issue to discuss the idea of supporting, in domainslib upstream, an alternate OCaml 4 implementation of the Task API. (Presumably, a
task.ocaml4.ml
module that would be switched instead of Task by some dune configuration magic.)If there is interest, I would be happy to provide such an implementation (leaving the dune magic to others). I think it could be relatively simple (we are not trying to provide any actual parallelism) and low-effort to maintain.
The text was updated successfully, but these errors were encountered: