Helping with __mutable (which will be renamed to __metadata)

Suleyman sahmi.soulaimane at gmail.com
Sun Apr 14 00:19:55 UTC 2019


On Saturday, 13 April 2019 at 08:58:06 UTC, Timon Gehr wrote:
> Won't happen, because data with __metadata annotations inside 
> will not be put in read-only memory. (This can be known 
> statically.)

If it's adding these kinds of protections then I think it would 
be worth it and a step forward in making D more safe. you might 
also consider the 'shared' protection I mentioned earlier then 
maybe you can lift the restriction on modification in @safe code.


More information about the Digitalmars-d mailing list