Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I'm seriously waiting that tokio train to be stable and a unified way of writing async services without needing to use some tricks with the channels or writing lots of ugly callback code

By which [1] is meant, for those not knowing.

[1] https://github.com/tokio-rs/tokio



Wasn't there some other effort in Rust to enable asynchronous I/O?


There's been a few; this one is built on top of mio, one of the most popular previous ones.


I meant this one which I saw mentioned recently: https://github.com/alexcrichton/futures-rs


Ah yes. Basically, tokio is mio + futures.


tokio is not an alternative to futures, but rather a more high-level framework that builds on top of futures - both are being actively developed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: