2 ms·
> why single out lambdas specifically for this? Because existing memory models have rules for object fields and rules for publishing objects. These rules don’
by chrisseaton 8y ago
> why single out lambdas specifically for this?
Because existing memory models have rules for object fields and rules for publishing objects.
These rules don’t apply to local variables.
They could do - but that’s what I’m asking.