Re:Go performance from version 1.2 to 1.18
by quickthrower2 on Saturday February 05, 2022 @10:45PM
(#30229188)
Well nothing needs async, you can use threads anywhere. But it is the predominant model for JS
[ Parent
| on HN ]
Re:Go performance from version 1.2 to 1.18
by IshKebab on Sunday February 06, 2022 @05:19AM
(#30231126)
It'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.