obuilder icon indicating copy to clipboard operation
obuilder copied to clipboard

Experimental Eio-port

Open patricoferris opened this issue 3 years ago • 2 comments

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 ?

patricoferris avatar Aug 07 '22 15:08 patricoferris

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).

MisterDA avatar Jan 09 '23 11:01 MisterDA

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!

talex5 avatar Jan 13 '23 11:01 talex5