3 ms·
Async wasn't invented after threads. It was primarily popularized in a system that has been designed such that it couldn't use threads (the web browser). Everyt
by dboreham 3y ago
Async wasn't invented after threads. It was primarily popularized in a system that has been designed such that it couldn't use threads (the web browser). Everything else is post-justifcation for why it's better. It isn't better.
- OtomotO 3y agoAsync/Await as a syntax thing wasn't, but Async/Await as "don't just blindly use Threads for scaling to a myriad of incoming HTTP requests" was. I remember the Apache webserver story and that one has little to nothing to do with Webbrowsers or JavaScript ;)