-
-
Not really, MPSC is more common that SPMC. As you may have noticed already, channels in the std library have several annoying flaws. The good news, I spent a lot of time researching this area and am planning to fix all known problems with it this year.
2 replies 2 retweets 23 likes
Until then, you can use crossbeam-channel as a drop-in replacement, which is MPMC, has select like Go, and is faster than std::sync::mpsc. More information: https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel … https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel/benchmarks#result … https://github.com/stjepang/rfcs-crossbeam/blob/channel/text/2017-11-09-channel.md … https://stjepang.github.io/2017/08/13/designing-a-channel.html …https://github.com/crossbeam-rs/crossbeam-channel/issues/39 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.