DLF September 2023 Monthly Meeting Summary

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon Nov 13 00:18:35 UTC 2023


Part of the problem with shared is that it is completely inverse of what 
it should be.

It fundamentally does not annotate memory with anything extra that is 
useful.

At the CPU level there are no guarantees that memory is mapped only to 
one thread, nor at the language level.

Therefore all memory is shared between threads.

As long as people have this inverted mindset in place and instead of 
wanting to prove its thread owned shared is going to be a problem for us.

Remove shared, add atomic storage class. Figure out thread owned/shared 
memory some other day.


More information about the Digitalmars-d-announce mailing list