Re:Quick thoughts on concurrent JavaScript execution
by asolove on Saturday June 11, 2011 @01:06PM
(#2644318)
You hit the nail on the head. JavaScript is just not built for shared-data concurrency, but passing data back and forth to web workers provides a way to speed up computation-intensive tasks, decouple long processing times from the UI event loop, without changing the language itself.
In either case, this will require a rewrite of every piece of code that needs it.
Speeding up/backgrounding the JIT compilation phase is a transparent optimization that I'm sure some smart people at Apple, Google, and Mozilla are already working on.