3 ms·
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 we
by kodablah 7y ago
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.
- aashcan 7y agoCould you share some resources? I'm trying to move a Hyper + Tokio-core + Futures project to the newer versions and am struggling..
- kodablah 7y agoI 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. 0 - https://rust-lang.github.io/async-book/ https://rust-lang.github.io/async-book/