2 ms·
Web servers and web browsers, which is a lot of todays dev work.
by quickthrower2 5y ago
Web servers and web browsers, which is a lot of todays dev work.
- IshKebab 5y agoWhy would a web browser need async? It can use threads.
- quickthrower2 5y agoWell nothing needs async, you can use threads anywhere. But it is the predominant model for JS
- IshKebab 5y agoIt's the model in JS because JS does not really support threading (web workers are more like separate processes) so it's the only way to do it. The actual browser doesn't need async. When I say "need" I mean that it provides a decent performance increase.