Closed dumblob closed 2 years ago
Thanks for them; I had looked at Weave before but AFAIK it mostly implemented MPSC queues to ensure wait free consumption.
There's nothing wrong with that implementation, but a MPMC is far easier to reason about and implement in any project however not necessarily sharing the performance of multiple MPSC.
Plus I want this to specifically work with CPS 🤣
a) Nim's Weave (which offers different queues, work-stealing scheduler with some twists, but most importantly excellent performance - I don't know of any other as generic solution which scales nearly linearly and uses so high percentage of computing power per CPU)
b) https://github.com/ConorWilliams/Forkpool