Re:Async-await on stable Rust
by kodablah on Thursday November 07, 2019 @09:45AM
(#21473601)
I've been working with alpha futures, tokio, hyper, etc with async/await support on rust beta (didn't use async std yet) and can attest to them working quite well. There was quite a learning curve for me to know when to use arc, mutex, different stream combinators, and understand raw polling, but after I did, writing the code became a bit easier. I suggest anyone wanting to learn to grab a tcp-level networking project/idea/protocol and grind on it for days, heh.
[ Parent
| on HN ]
Could you share some resources? I'm trying to move a Hyper + Tokio-core + Futures project to the newer versions and am struggling..
I don't really have any except to use the alphas of tokio and toy with it. The tokio alpha docs and the async book[0] has some info, but both are a bit incomplete.