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

Tokio is "do that network transfer or disk read without freezing the program".

Except that takes a specific tokio package for each operation rather than being a kitchen sink of everything in one crate.



Oh so tokio is just the generic interface for any "do thing x without freezing", where the actual x comes from whatever implementation you include.


That's my understanding. It's a generic framework/interface for doing any kind of IO task without freezing the program.




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

Search: