DIP60: @nogc attribute

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 16 10:39:36 PDT 2014


On 4/16/2014 1:49 AM, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> Btw, I think you should add @noalloc also which prevents both new and malloc. It
> would be useful for real time callbacks, interrupt handlers etc.

Not practical. malloc() is only one way of allocating memory - user defined 
custom allocators are commonplace.


More information about the Digitalmars-d mailing list