Trying to model hypercore-protocol in Rust, and wow yeah okay this is pushing the boundaries a bit of what established Rust stream patterns can provide. Currently using the codec pattern + modelling it after crossbeam channels, but it's not *quite* righthttps://github.com/mafintosh/hypercore-protocol …
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What would r,w mean ? I always let (rx,tx) = mpsc::channel();, only to figure out later I (again) got it the other way around. ^^
-
I updated the doc with a new design. I usually prefer writing let (reader, writer) = channel() as there's less chance of confusion.
@stjepang goes into quite a few details of the naming problems std's channels have here:https://stjepang.github.io/2019/03/02/new-channels.html … - 1 more reply
New conversation -
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.
