DIP60: @nogc attribute

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 22 11:28:53 PDT 2014


On Tue, 22 Apr 2014 14:12:17 -0400, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> On 4/22/2014 6:18 AM, Steven Schveighoffer wrote:
>> On Mon, 21 Apr 2014 19:02:53 -0400, Walter Bright  
>> <newshound2 at digitalmars.com>
>> wrote:
>>> The thing is, with iOS ARC, it cannot be statically guaranteed to be  
>>> memory safe.
>>
>> So?
>
> If you see no value in static guarantees of memory safety, then what can  
> I say?

Seriously, the straw man arguments have to stop.

There is plenty of valuable D code that is not guaranteed memory safe. For  
example, druntime.

ARC does not equal guaranteed memory safety. So NO, it cannot replace the  
GC for D @safe code. That doesn't make it useless.

-Steve


More information about the Digitalmars-d mailing list