| ▲ | josephg 5 hours ago | |
Not true. I’ve used both, and I often prefer the explicitness of async await. It’s easier to reason about. The language guarantees that functions which aren’t async can’t be preempted - and that makes a lot of code much easier to write because you don’t need mutexes, atonics and semaphores everywhere. And that in turn often dramatically improves performance. At least in JS. I don’t find async in rust anywhere near as nice to use. But that’s a separate conversation. | ||