foundation icon indicating copy to clipboard operation
foundation copied to clipboard

Processes and pipes

Open ndmitchell opened this issue 8 years ago • 3 comments

The current process library has a lot of functions, confusion over binary, lots of complex code if you want to build on it etc. Foundation could be a new hope sorting a lot of that out. I suspect that fundamentally having pipes as a first class abstraction which then are built upon to produce processes with conduits would be the right approach.

ndmitchell avatar Apr 19 '17 09:04 ndmitchell

I can't agree more about the premises and end goal, I don't have any particular ideas about the middle bits, but first class pipes sounds interesting.

I think @snoyberg was looking at the API of process trying to maintain/improve it there, so if there's any idea/lesson to share about general process thing I would gladly look at that :)

vincenthz avatar Apr 19 '17 09:04 vincenthz

also @ndmitchell if you want to flesh out the idea a bit more to have something to think about, you are more than welcome

vincenthz avatar Apr 19 '17 09:04 vincenthz

My thoughts on a better API are in the typed-process library. I agree that the current process API is too unwieldy.

snoyberg avatar Apr 19 '17 10:04 snoyberg