3 ms·
Don't forget that JavaScript is singlethreaded, which makes a lot of things (e.g. GC) easier. I think if JVM or CLR was purely singlethreaded they would gain so
by Matthias247 12y ago
Don't forget that JavaScript is singlethreaded, which makes a lot of things (e.g. GC) easier. I think if JVM or CLR was purely singlethreaded they would gain some more speed.
Web Workers don't as multithreading, they are more like isolated processes than threads.