Configuring the Garbage Collector
cam-bam
cam-stand at gmail.com
Fri Mar 14 09:14:38 UTC 2025
What effect does the disable:1 option have on garbage collection?
Does it stop garbage collection entirely or just prevent them
from running at the start of the program? From this
[link](https://dlang.org/spec/garbage.html#gc_config) I can see
there are multiple options however, if I wanted to avoid the
garbage collector entirely would it be best to just use betterC
or do manual memory management as suggested by the
[blog](https://dlang.org/blog/2017/09/25/go-your-own-way-part-two-the-heap/) here which mentions using the c std. library.
More information about the Digitalmars-d-learn
mailing list