5 ms·
Multithreading in js has been available for a while using Web Workers [1]. They are available in most major browser (including recent IE). [1]: https://develo
by padenot 12y ago
Multithreading in js has been available for a while using Web Workers [1].
They are available in most major browser (including recent IE).
[1]: https://developer.mozilla.org/en/docs/Web/Guide/Performance/Using_web_workers https://developer.mozilla.org/en/docs/Web/Guide/Performance/...
- peaton 12y agoOk! Interesting. Are web workers gaining traction? This is the first time I've heard of them. Are there any major users/libraries that depend on ww?
- dangoor 12y agoIt depends on your browser support requirements. On the Brackets project[1], we work within Chromium (and "modern browsers" with our in-browser branch), so we can rely on web workers for doing things like parsing JavaScript for autocompletion. Web workers are quite useful and I'm sure there are a fair number of webapps that take advantage of them. [1]: http://brackets.io/ http://brackets.io/