Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Crossbeam (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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: