Getting Started with Tokio
lukesteensen.com
Getting Started with Tokio
1–10 of 22 posts
Re: Getting Started with Tokio
#2Re: Getting Started with Tokio
#3The whole tokio stack is having an initial 0.1 release soon. It's incredibly highly anticipated.
Re: Getting Started with Tokio
#4Re: Getting Started with Tokio
#5Re: Getting Started with Tokio
#6Re: Getting Started with Tokio
#7What is the reason to box the futures? futures::finished and futures::failed both return FutureResult.
Re: Getting Started with Tokio
#8Earlier quoted context omitted.
I'm waiting to refactor four of my services to use tokio + hyper + amqp as soon as possible. It'll be fun...
Are you expecting to see any benefits from the async stuff in particular?
Re: Getting Started with Tokio
#9I've been following futures since the announcement blog post came out (and had been using rust for several months before that) and I've never found a group of crates that intermix so well together. Simple stuff like tokio-tls implementing the Io trait from tokio-core so it can easily be used in bind_transport to secure the connection makes working with tokio and futures so nice. Thanks so much to the people working o…
Thank you for the whole team.
Re: Getting Started with Tokio
#10>You can ignore all of the Box stuff; the reasoning behind that isn't terribly important right now. What is the reason to box the futures? futures::finished and futures::failed both return FutureResult.
(I haven't dug into the specifics of this specific example; that's what I assumed when I read that line. Maybe the author also knew this rule of thumb and did it unnecessarily...)