4 ms·
It's syntactic sugar that makes code a lot easier to reason about.
by artursapek 6y ago
It's syntactic sugar that makes code a lot easier to reason about.
- sanxiyn 6y agoSynchronous code is even easier to reason about than code using async syntax sugar.
- nialv7 6y agoNo, multithreaded synchronous code is not easier to reason about than async. I think most would agree.
- akvadrako 6y agoYou probably think async code can't have deadlocks like threaded code can. Async is still multi-threaded it's just that the threads are done in user-space and contain an implicit global lock.
- sanxiyn 6y agoI disagree, at least in Rust. async is hard. Threading is easy.
- nialv7 6y agoDo you have something that backs up your belief?