C++ concurrency - Interview with Anthony Williams
We are talking with Anthony Williams, the author of Concurrency in Action, now on Second Edition. He's passion is multithreading and for several years he was the primary developer of Boost Thread Library in C++. You have in your book an interesting clarification / definition of the difference between parallelism and concurrency. Could you please explain this to our readers? Anthony Williams: The difference between parallelism and concurrency is primarily a difference in focus. When thinking about parallelism, then the focus is about making best use of the hardware to do the processing. You don't want extra threads running, because that would cause excessive switching, and you want to ensure all your cores have meaningful work to do at all times.