Moving to TCPStream, Bye Tokio!
Preethi Kumar
102

Hi Preethi,

You’re right: Futures/Tokio’s abstractions are hard. Being able to compose them in surprising, powerful ways has taken me ~5 months of work.

To quote @carllerche on https://gitter.im/tokio-rs/tokio — async is hard. Sadly, as someone new to the language you were going to have a horribly difficult time. :-(

It’s hard to communicate that without putting people off entirely, but even in Rust synchronous code is far simpler to understand than asynchronous.

I think that as the Futures community grows the floor will raise on what you have to worry about, but that’ll be the product of a lot of experimentation.

Congrats on what you’ve built. :-) Building a server sounds like a lot of fun.

Michael

A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.