A thought about garbage collection

deadalnix deadalnix at gmail.com
Wed Dec 19 17:37:16 PST 2012


On Wednesday, 19 December 2012 at 20:47:39 UTC, Benjamin Thaut 
wrote:
> An article I just read. It even mentions D:
>
> http://sebastiansylvan.wordpress.com/2012/12/01/garbage-collection-thoughts/
>
> I my opinion he especially has a point with the "each object 
> consists mostly out of pointers" argument.
>

He neglect to consider immutability (or maybe wasn't aware of) 
and how, combined with GC it allow some idioms that are very 
fast. Very good article overall.

D's GC should really be aware of TL and immutability of what it 
does allocate.


More information about the Digitalmars-d mailing list