Hey all, last weekend we published the first version of parallel-stream
, an async parallelism library which brings Rayon's parallelism model to async Rust. This post digs into the design, tradeoffs, and future directions. Hope it comes in useful!
1 Like
I'd be curious to know how the performance compares to rayon
for small work items per element. Based on the description (launching a task per-item), it doesn't sound promising, but it would be good to know what that trade-off is.
Generally async await is meant for IO-bound code, not CPU-bound code like rayon is.
Oh, you're right. I misinterpreted the goal of this crate.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.