D1.5 anyone?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Apr 12 07:11:53 UTC 2023


On 12/04/2023 6:42 PM, Walter Bright wrote:
>> Together with explicit head-shared we are strictly better than status 
>> quo.
> 
> Are we in terms of safety and correctness?

I remain sincerely unconvinced.

Shared is the exact opposite of what is needed.

Unless proven otherwise, all memory is owned by the process not the 
thread and therefore is the default.

The only way I've been able to use it successfully is to treat it as if 
it was `atomic`. Only without any of the QoL stuff that `atomic` could 
bring.


More information about the Digitalmars-d mailing list