Web workers are one of the most awaited feature of entire HTML 5 specifications. Generally if we think of, the current environment is actually turning towards multicore machines. Today, its verbally every computer has at least 2 cores installed in their machine. Browser are well capable of producing multiple threads that can run in parallel in different cores. But programmatically until we cannot have the flexibility in javascript to run parallel tasks in different cores.
Developers previously uses setTimeout, setInterval or XMLHttprequst to actually create non-blocking calls before. But these are not truely a concurrency. I mean if you still put a long loop inside the setTimeout it will still hang the UI. Actually these works asynchronously taking some of the UI threads timeslices but not actually spawning a new thread to run the code.
[Read the rest of this entry...]