3 ms·
In parallel programming, subcomputations may complete out of order. The ability to combine those subcomputations in any order can be pretty useful!
by phlakaton 3y ago
In parallel programming, subcomputations may complete out of order. The ability to combine those subcomputations in any order can be pretty useful!
- BeetleB 3y agoThat, though, is associativity, not commutativity. In FP arithmetic, operations are commutative, not associative.
- phlakaton 3y agoIf you receive b before a and combine them as b*a, that's commutative. Both properties are useful in parallel programming, but you may only need one in a specific case, depending on your application.