parallel loops

2 moment(s) that assert this concept — showing 1–2 of 2

moderateTwo independent sources — corroborated, but not broadly
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Google[2] JetBrains
showing 2 of 2 moments
Google TechTalks · youtube · en-US
1Parallelizing a loop over additions introduces race conditions because multiple threads may independently modify the same sum variable.
“the problem is we've got race conditions now it might be that if we execute all of the B the body instances of the do Loop and parallel that they some of them might pick up some add in their own indidual X subi and then do the store and the problem is that some of the summations we lost that way”
spoken · 267s · 2016-01-28
JetBrains · youtube · en
2MPS enables combining languages from different vendors without requiring grammar merging or parser extension, allowing for features like parallel loops and decision tables to be integrated seamlessly.
“we might take Java as a base language for example uh we might extend it with um capabilities of doing currencies we might use some sort of parallel for Loop that's also not part of java so we'll be iterating over all the arguments in parallel and now inside of that we might use a decision table which again might have been designed by some other language vendor”
spoken · 713s · 2015-02-27