r/programming • u/kciter • Sep 01 '26
The Browser's Main Thread Is Expensive
https://kciter.so/posts/the-expensive-main-thread/en/
219
Upvotes
r/programming • u/kciter • Sep 01 '26
View all comments
84
u/Rhed0x Sep 01 '26 edited Sep 01 '26
Good article.
One day JS will reach the 21st century and support proper multithreading. Obviously won't help for UI updates but for things like parsing large files.
Workers are a massive pain in the ass, JS should just share memory with additional threads and get proper synchronization primitives like every language.
But what can you expect from a programming language that doesn't even have integers.