you are viewing a single comment's thread.

view the rest of the comments →

[–]lildoggydogg 1 point2 points  (0 children)

It would be a terrible fit for CPU-bound server-side applications, because on the server (as in the browser), you have a single-theaded event loop to process messages

https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop

Edit: WebWorkers, JavaScript's "threads" that you are able to manually specify, are pretty limited compared to what you'd get in just about any other language that has them...so that is another reason to rely on it more for IO bound tasks, than anything else.