Memory safety depends entirely on GC ?

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 24 11:12:17 PST 2015


Andrei Alexandrescu:

> It definitely is a good thing. The question is balancing its 
> goodness against the costs of allowing it. It's not impossible 
> you may get asked to change your code to use a struct instead 
> of a fixed-sized array.

I don't like the look of the annotations of DIP25. I'd like DIP25 
removed from D language and replaced by a more principled 
solution. Sometimes a heavier solution can be simpler to 
understand (and it can be actually safe).

Bye,
bearophile


More information about the Digitalmars-d mailing list