3 ms·
> Top-level async would make asynchronous IO no different from synchronous IO! It's the worst of both worlds. That's false. You could still do plenty of things
by domenicd 10y ago
> Top-level async would make asynchronous IO no different from synchronous IO! It's the worst of both worlds.
That's false. You could still do plenty of things while this asynchronous I/O is happening (including allowing the user to interact with the page, or load other modules in the background).
> By contrast, imperative loading has to happen sequentially.
Yes, but notably, declarative loads are not blocked on imperative loads.