Re:Show HN: Papa Parse 3
by peaton on Wednesday July 16, 2014 @10:33AM
(#8042190)
Hm, could somebody explain the multi-threaded part to me? I'm a little confused. I didn't think multiple threads were possible in js. Furthermore, does this only work on Firefox?
[ Parent
| on HN ]
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/...
Ok! 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?
It 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/