- Responsive programming: When you have an expensive computation and don’t want to block the UI.
- Parallel programming: When you want to leverage multiple CPU cores by having computations running concurrently to solve a specific task.
We will see later on that parallel programming with Web Workers can be challenging, and that they are not really designed for that today unfortunately. But before we dive into the details of responsive programming and parallel programming, let’s start with some more details about Web Workers. Note that we will cover here dedicated Web Workers, not the shared Web Workers.
Posted on July 1, 2013 by Thibault Imbert · 28 comments Read More