I do try to keep the examples in the basic sections of my blog posts as simple as possible, but there is an awful lot to be aware of before hand with this.
Now that I have the hello world example out of the way it is time to move on to at least one more example for this basic getting started type section. This time I want to make something that is just a crude example of doing something that will end up taking some time.
Web Workers are then a great tool when and where using them is called for with situations in which rendering is slowing down and getting a bit choppy. There are some concerns though of course, code will break on older browsers that do not support web worker, which is one reason why one should at least maybe still feature test for web worker first and still run things in the main thread. Some other things to keep in mind is that in some cases bothering with web workers might be a bit overkill, I might be using them as a way to avoid taking the time to write more efficient code, or I may be making a project far more complex that it needs to be.