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
GC.disable();This prevents the garbage collector from running but your program will still allocate using the GC's managed memory (use the command line switch -vgc to see all the allocation points). It will just never free memory.