I wish all qualifiers were revisited with an eye for simplification

Bruce Carneal bcarneal at gmail.com
Mon Aug 3 15:20:08 UTC 2020


On Monday, 3 August 2020 at 11:45:22 UTC, Simen Kjærås wrote:
> On Sunday, 2 August 2020 at 20:50:14 UTC, Andrei Alexandrescu 
> wrote:
>> [...]
>
> Shared today is a half-baked implementation of a half-thought 
> idea. Manu wrote[0] almost two years ago what it should be: you 
> can't read or write from a shared object, and only shared 
> methods may be called on it. This was made into a DIP[1], and 
> is half-way(?) implemented in the compiler as 
> -preview=nosharedaccess. The semantics are effective and easy 
> to understand.
>
> --
>   Simen
>
> [0]: 
> https://forum.dlang.org/post/mailman.4299.1539629222.29801.digitalmars-d@puremagic.com
> [1]: 
> https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1024.md

Very much looking forward to activating shared with 
-preview=nosharedaccess.  Will do so widely once "hello world" 
compiles again.



More information about the Digitalmars-d mailing list