DIP60: @nogc attribute

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 18 12:44:39 PDT 2014


On 2014-04-17 15:08, Orvid King via Digitalmars-d wrote:

> Lastly, I'll add support for stack allocated
> classes, however that will likely have to be disabled until DMD gets
> full escape analysis. As a final note, this will be the 3rd GC I've
> written, although it will be the most complex by far. The first was
> just heap precise, the second a generational compacting version of it.

It's already possible to stack allocate classes. Either using the now 
deprecated (removed?) "scope" or a library solution.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list