I found Rust is not yet officially supporting Multi Producer Multi Consumer channel yet.
It only supports mpsc lib i.e, Multi Producer Single Consumer channel.
This make difficult to write Go style channel program in Rust.
There has been quite intensive research activity to support MPMC recent years. see:
https://stjepang.github.io/2019/01/29/lock-free-rust-crossbeam-in-2019.html
Basically at the begging of 2019, crossbeam became available to fulfill this requirements.
Servo is already using it.
I don't know what happened year 2019 for this library, but the github is still active these days.
Subscribe to:
Post Comments (Atom)
Recursive Matrix and the parallel matrix multiplication using crossbeam and generic constant
This was planned project I posted before. Basically in order to evaluate Rust's claim for zero cost abstraction and the effectiveness o...
-
I tried to write a generic function which converts a list to a receiver channel. Originally I wrote this function taking Vec, but I wanted ...
-
I'm looking for a web framework which enable us to develop web application similar to AngularJS. Although I don't like many aspect ...
-
This was planned project I posted before. Basically in order to evaluate Rust's claim for zero cost abstraction and the effectiveness o...
No comments:
Post a Comment