2 ms·
Still easy to mess up the coordination when you have mutable shared state.
by brazzy 7y ago
Still easy to mess up the coordination when you have mutable shared state.
- jcranmer 7y agoEmbarrassingly parallel workloads kinda don't have mutable shared state... that's why they're "embarrassing".
- brazzy 7y agoNo. "Embarassingly parallel" just means you don't need to share intermediate results. You still need to create all the parallel threads/processes/fibers/whatever, divide the work between them and collect or merge the results. And if you work in an environment where state is mutable and shared per default (i.e. your typical shared-memory multithreaded Java/C#/C++/Ruby program), then it's still very easy to mess up somewhere.