>>Is Parallel Programming Hard, and, If So, What Can You Do About It? I confess I didn't read TFA but the title made me think of something that hopefully some people here are well placed to take further. In a programming language I use there is an "each" function. For example in pseudo-java given a function f(int i). result = f each List . Runs f over each integer. To make this multi-threaded you can simply say f pea…
And this is assuming that the code in the loop is thread safe, otherwise you will summon every concurrency bug on the planet.