Freeing of memory (garbage collection)
bearophile
bearophileHUGS at lycos.com
Tue Dec 9 06:09:25 PST 2008
Dan W:
> 1: Even though D has an automatic garbage collector, is one still
> allowed to free the memory of a malloced array manually (using free
> () ), to avoid pauses in the program?
Other people here will just answer your question. But remember that in D manual memory management is done only in special situations, most code of most programs just use the GC.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list