Re:Rust from 0 to 80% for JavaScript Developers
by zozbot234 on Sunday May 01, 2022 @05:31AM
(#31223473)
> Um, yes. I've been trying to talk the "async" crowd down from making libraries async only.
There's no such thing as "async only" in Rust. You can always run tasks synchronously using block_on. Rust uses a principled approach to resolve the "function color" issue for async.
There's no such thing as "async only" in Rust. You can always run tasks synchronously using block_on. Rust uses a principled approach to resolve the "function color" issue for async.