Maybe D is right about GC after all !

codephantom me at noyb.com
Fri Dec 22 01:19:04 UTC 2017


On Tuesday, 19 December 2017 at 09:54:05 UTC, Walter Bright wrote:
> "C, Python, Go, and the Generalized Greenspun Law"
>
> http://esr.ibiblio.org/?p=7804

The question that remains, is how scalable and tunable is "D's GC 
implementation" to my programming needs (whatever they might 
happen to be).

It seems to me, that most GC implementations assume particular 
things about the environment in which they're operating, whereas 
I think that the programmer should be able to tell the GC about 
the environment in which it's operating, and the GC can adjust 
its parameter to that environment (e.g real time collection, 
generational collection, regional collection, etc...).

To the extent that a particular type of GC implementation forces 
its particular model onto the programmer, that I think, is a real 
limitation of GC.

That's why I believe manual memory management, much like the 
language C, will be around for a long time to come.



More information about the Digitalmars-d mailing list