Hacker News new | ask | show | jobs
by dmackerman 2446 days ago
My guess is they explored this, but realized how limited workers are?
1 comments

They did not write about it though.

Web Workers were used for running untrusted plugins in the past. They run off-the-main-thread, are terminateable, don't have access to DOM, etc.

You'd still need to cleanup their environment, before running untrusted code there. It's some challenge, but not too hard.

The only trouble is that they're hard to monitor for abuses of CPU/Memeory use. But that will at most crash your browser.