Am Sun, 2 Feb 2014 18:36:29 +0100 schrieb Andrej Mitrovic <[email protected]>:
> On 2/2/14, Andrei Alexandrescu <[email protected]> wrote: > > 2. Work on Phobos to see what can be done about avoiding unnecessary > > allocation. Most likely we'll need to also add a @nogc flag. > > See Johannes'es pull here: > https://github.com/D-Programming-Language/dmd/pull/1886 > > Where he comments: > > ``` > Note: This could also be a start to implement a -nogc parameter which > would check a whole module not to use the GC. This is less intrusive > than a @nogc attribute. > ``` The last iteration actually implements -nogc and the pull request also provides almost everything needed for @nogc. The attribute should probably be added in a second pull request as I expect more discussions there.
