A thought about garbage collection

Jonathan M Davis jmdavisProg at gmx.com
Wed Dec 19 17:54:32 PST 2012


On Thursday, December 20, 2012 02:37:16 deadalnix wrote:
> D's GC should really be aware of TL and immutability of what it
> does allocate.

The problem is casting. It's not uncommon to create something as mutable and 
then cast it to immutable when done. It's stuff like that screws with being 
able to per-thread GCs. Which thread owns what isn't always clear.

- Jonathan M Davis


More information about the Digitalmars-d mailing list