3 ms·
I'm coming from go, what did you mean by "if you lean towards channels"? Did you mean std::sync::mpsc? Seems like a rather crippled channel if you can only h
by sliken 4y ago
I'm coming from go, what did you mean by "if you lean towards channels"? Did you mean std::sync::mpsc? Seems like a rather crippled channel if you can only have a single consumer.
- fnord123 4y agoCrossbeam channels are mpmc. https://docs.rs/crossbeam/latest/crossbeam/channel/index.html#sharing-channels https://docs.rs/crossbeam/latest/crossbeam/channel/index.htm...
- necubi 4y agoCrossbeam (https://docs.rs/crossbeam/latest/crossbeam/channel/index.html https://docs.rs/crossbeam/latest/crossbeam/channel/index.htm...) provides a high performance and ergonomic MPMC channel. As of the latest release of Rust it's now the basis for the MPSC channel in the stdlib.