D not considered memory safe

aberba karabutaworld at gmail.com
Sat Jul 13 12:37:09 UTC 2024


On Thursday, 11 July 2024 at 16:26:59 UTC, Walter Bright wrote:
> On 7/9/2024 8:58 AM, Nick Treleaven wrote:
>> [...]
>
> That's right. Converting an entire program to @safe can be done 
> successfully by doing it incrementally, getting it to pass its 
> test suite at each step. The way to do it incrementally is to 
> start by labeling each function @trusted, then making them 
> @safe one by one.
>
> I've done this, it works.
>
> And, as you observe, grepping for "@trusted" makes for a 
> builtin-in TODO list!

This to me is the most sensible way to go about it.


More information about the Digitalmars-d mailing list