Re:Async-await on stable Rust
by leshow on Thursday November 07, 2019 @01:06PM
(#21475610)
It's not that crazy. There's an async ecosystem of libraries, you opt in to using them, if you run a blocking method inside an executor then you obviously pay the cost for that. Granted most executors run on multiple threads so you'd only be blocking one thread.
Still, in practice it's just not that hard, use async methods if you're writing async code.
Still, in practice it's just not that hard, use async methods if you're writing async code.