On Fri, Jan 15, 2021 at 04:22:59PM +0000, IGotD- via Digitalmars-d-learn wrote: [...] > Are we talking about the same things here? You mentioned DMD but I was > talking about programs compiled with DMD (or GDC, LDC), not the nature > of the DMD compiler in particular. > > Bump the pointer and never return any memory might acceptable for > short lived programs but totally unacceptable for long running > programs, like a browser you are using right now. > > Just to clarify, in a program that is made in D with the default > options, will there be absolutely no memory reclamation?
We're apparently cross-talking here. A default D program uses the GC, as should be obvious by now. DMD itself, however, uses bump-the-pointer (*not* programs it compiles, though!). The two are completely unrelated. T -- Let X be the set not defined by this sentence...