On Wednesday, 17 October 2018 at 05:40:41 UTC, Walter Bright wrote:
On 10/15/2018 11:46 AM, Manu wrote:
[...]

Shared has one incredibly valuable feature - it allows you, the programmer, to identify data that can be accessed by multiple threads. There are so many ways that data can be shared, the only way to comprehend what is going on is to build a wall around shared data.

(The exception to this is immutable data. Immutable data does not need synchronization, so there is no need to distinguish between shared and unshared immutable data.)
[snip]


Isn't that also true for isolated data (data that only allows one alias)?

Reply via email to