News for hackers. Stuff that matters.
Re:JavaScript and the next decade of data programming (2020) by fbcpck on Friday June 04, 2021 @06:00AM (#27392129)
Looks like something that can be solved by moving the task to background with [web workers][0].

[0]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...

Re:JavaScript and the next decade of data programming (2020) by tralarpa on Friday June 04, 2021 @06:24AM (#27392242)
At least with Firefox, doing tasks in the background was sometimes quite painful, especially during development. For example, I do some CPU-intensive stuff in the background, close the tab because I noticed a mistake in my code -> background task still runs for several seconds eating CPU and memory until it is killed or finished (I didn't check to be honest) by the browser.

Edit: As with everything related to complex web applications (and I had two or three in my career), it is obvious that the whole environment (client, protocols, languages,...) was never designed for this.