DIP60: @nogc attribute

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 16 03:13:05 PDT 2014


JN:

> I doubt @nogc will change anything, people will just start 
> complaining about limitations of @nogc

Having a way to say "this piece of program doesn't cause heap 
activity" is quite useful for certain piece of code. It makes a 
difference in both performance and safety.
But not being able to call core.stdc.stdlib.alloca in a "@nogc 
pure" function sub-three is not good.

Bye,
bearophile


More information about the Digitalmars-d mailing list