r/javascript • • Dec 05 '25

The missing standard library for multithreading in JavaScript

https://github.com/W4G1/multithreading
147 Upvotes

33 comments sorted by

View all comments

Show parent comment

2

u/tunisia3507 Dec 06 '25

Being avid rust users does make us tend to reject the notion that anyone would want to use another language for anything...

In my experience, any kind of significant maths, be it in JS or a JS-controlled wasm blob, wants to be kept off the main thread so it doesn't block the UI. We had a tool which was used by dozens of labs across the world for annotating terabytes of 3D images, and it was useful for us to do some computation on the client side.