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

It feels like most of the hatred for rust async is for people that try to act like Tokio isn't async rust and that for some reason you should try to randomly avoid tokio for some reason.


Maybe because you want to keep the dependency tree under control and bringing in tokio suddenly adds fifty crates you never asked for. Every crate is a potential liability!


Tokio is developed very carefully (they’ve even developed their own thread race checker for it – loom).

Adding it to your project probably increases the average code quality:)


I don't doubt the code quality but most of the additional crates are not tokio's. Also statistically, any added complexity incurs more risk.




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

Search: