joboccara/pipes

Question: What would be a good demonstration of pipeline stages where each stage is multi-threaded?

davidsummers opened this issue · 1 comments

Thanks for a great library! It really got me thinking!

I'm working on my own version that has the capability for each pipeline stage to be multi-threaded.

What would be a good demonstration of a pipeline where each stage would be running in its own thread?

I'm hoping it should be very easy to accomplish this capability, I just am looking for something that would show off that capability either in an unusual way or something that couldn't be done easily without multi-threaded pipeline stage capability.

Thanks for any ideas!

@davidsummers Just to continue the discussion off your question because I think parallel algorithms is really interesting and it would be cool to see it in this repo but I’d imagine (correct me if I’m wrong) that you couldn’t parallelise each stage (each pipe) due to each pipe being sequential and owning in nature as opposed to a non-owning view like in std::ranges. But I think parallelising different pipes would be interesting.