Incremental garbage collection

IGotD- nise at nise.com
Fri Jan 21 10:42:58 UTC 2022


On Friday, 21 January 2022 at 10:13:17 UTC, Elronnd wrote:
>
> Again, this can be solved conservatively at the 
> implementation-level.

Basically no.

D has a lot of standard library types in druntime/phobos, like 
arrays and other containers. Even if you implement your own GC at 
implementation level, the standard library types will still use 
the default GC and having other GC properties you probably don't 
want. Managed pointers enables you to swap out the entire default 
GC all together including GC usage in the standard library.


More information about the Digitalmars-d mailing list