When should you be using Web Workers?
Surma explains very well how “low-end phones will mostly likely be used by the massive number of people coming online in the next couple of years“, and why we need to take that into account when we design our frontend Web architectures.
Considering that most players on my game esviji are (I should say "were", as most have deserted now… 😥) from emerging markets:
I guess I should follow Surma's advice for the next iteration of the game (a full rewrite has been planned months ago already… 😅):
Web Workers help your app run on a wider range of devices. Libraries like Comlink help you utilize workers without losing convenience and development velocity. I think we should question why every platform but the web is fighting for the UI thread to be as free as possible. We need to shift our default approach and help shape the next generation of frameworks.
If you want to share an error or suggest an enhancement of this content, please edit the source on Github.