Disabling GC in D

cym13 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 21 14:13:46 PST 2016


On Thursday, 21 January 2016 at 21:54:36 UTC, Dibyendu Majumdar 
wrote:
> Is there a way to disable GC in D?
> I am aware of the @nogc qualifier but I would like to 
> completely disable GC for the whole app/library.
>
> Regards
> Dibyendu

You should read the core.memory.GC section ( 
http://dlang.org/phobos/core_memory.html#.GC ), it is possible to 
have fine grained control over the GC if needed.


More information about the Digitalmars-d-learn mailing list