Web Workers - do they create actual threads?
I have always thought that web workers create separate threads, but today I ran into the spec on w3c website. Below is a citation about web workers: This allows for thread-like operation with message-passing as the coordination mechanism. The question is - if it is thread-like , not actual thread what is an advantage(performance wise) of using this technology? Any help will be appreciated! Yes, web workers create actual threads (or processes, the spec is flexible on this). According to the Web Workers specification, when a worker is created the first step is: Create a separate parallel