4 ms·
Embarrassingly parallel workloads kinda don't have mutable shared state... that's why they're "embarrassing".
by jcranmer 7y ago
Embarrassingly 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.