DIP60: @nogc attribute

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 22 00:11:01 PDT 2014


On 22/04/14 01:02, Walter Bright wrote:

> The thing is, with iOS ARC, it cannot be statically guaranteed to be
> memory safe. This makes it simply not acceptable for D in the general
> case. It "works" with iOS because iOS allows all kinds of (unsafe) ways
> to escape it, and it must offer those ways because it is not performant.

So does D. That's why there is @safe, @trusted and @system. What is the 
unsafe part of ARC anyway?


-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list