Rebooting the __metada/__mutable discussion

Timon Gehr timon.gehr at gmx.ch
Sun Apr 10 15:13:57 UTC 2022


On 10.04.22 16:48, Alexandru Ermicioi wrote:
> On Saturday, 9 April 2022 at 06:25:10 UTC, vit wrote:
>> RAII in D is bad: move ctor are not implemented, overloading copy 
>> ctors sometimes crash dmd, copy ctors are not called from GC slices, 
>> dtors have bad interaction with stack tuples/value sequences and 
>> opCast, emplace...
> 
> Imho these should be prioritized first before, doing yet another 
> language change. ...

I agree that lifetime semantics that actually work should be a much 
higher priority than hiding reference counts in immutable structures. 
(But maybe the people who are willing to fix either thing are not the 
same people.)


More information about the Digitalmars-d mailing list