4 ms·
Yes and no. From a practical point of view considering sync code as async is useless as sync and async code have very different usability characteristics and it
by gpderetta 2y ago
Yes and no. From a practical point of view considering sync code as async is useless as sync and async code have very different usability characteristics and it is useful to have different names for the two domains.
On the other hand, form a more abstract, theoretical level, it is important to know that there is almost always an event loop at some point deep in the stack and sync code is just sugar over async and you can always transform from one to the other.