D not considered memory safe

Walter Bright newshound2 at digitalmars.com
Mon Jul 22 16:51:09 UTC 2024


On 7/20/2024 9:10 AM, Timon Gehr wrote:
> You are marking functions as `pragma(local_safe)` one by one while you fix any 
> errors that pop up. The code remains compilable for the entire time. Then once 
> the entire cycle has been fixed, you can replace `pragma(local_safe)` by `@safe`.

How is that different from marking with @trusted?



More information about the Digitalmars-d mailing list