3 ms·
Purity has a large advantage when writing concurrent code, as pure functions don't need to be synchronized. This is why D has enforced purity (via an attribute
by WalterBright 13y ago
Purity has a large advantage when writing concurrent code, as pure functions don't need to be synchronized.
This is why D has enforced purity (via an attribute) rather than inferred purity.