obuilder
obuilder copied to clipboard
Experimental Eio-port
This is a very experimental PR/branch that starts trying to port OBuilder to Eio. As part of some other work I wanted to start tackling https://github.com/ocaml-multicore/eio/issues/126 so I was looking for a good candidate that made heavy use of subprocesses and redirections!
This branch is currently building with this branch of Eio: https://github.com/patricoferris/eioio/tree/processes
The trickiest part at the moment seems to be how to handle cancellation correctly. I was thinking of maybe just having a global switch that's passes in via Build.build that everything uses to spawn fibers etc. and that can be the switch that is cancelled if the user does -- any thoughts on this @talex5 ?
Are there any blockers apart from applying the suggestions from the code review and rebasing? I'd definitely enjoy debugging with backtraces (hoping that the switch to OCaml 5 and Eio would provide them).
Are there any blockers apart from applying the suggestions from the code review and rebasing? I'd definitely enjoy debugging with backtraces (hoping that the switch to OCaml 5 and Eio would provide them).
However, you might not enjoy that it will no longer work on Windows :-( See https://github.com/ocaml-multicore/eio/issues/125 for remaining issues if you want to help!