D not considered memory safe

Timon Gehr timon.gehr at gmx.ch
Thu Jul 25 19:45:51 UTC 2024


On 7/25/24 20:14, Walter Bright wrote:
> 
> 
> Going from 3 safety attributes to 4 attributes is just going to confuse 
> people. There's no simple, obvious rule saying what checks will be on, 
> and which will be off. Calling unsafe functions? accessing mutable 
> globals? pointer casting? C strings? unions? All of these are 
> difficulties I face with converting the compiler source code, and they 
> don't have simple answers. Nobody is going to remember which checks are 
> turned on by the 4th attribute and which are disabled.

Well, perhaps you should read my proposal again then.


More information about the Digitalmars-d mailing list