The purpose of D (GC rant, long)

Kyle Furlong kylefurlong at gmail.com
Thu Oct 26 14:05:05 PDT 2006


Serg Kovrov wrote:
> Hi Kyle Furlong, you wrote:
>> If you are writing your own memory management anyways, whats to stop 
>> you from implementing your own GC, which will be as paranoid about 
>> memory as you are? The hooks are all there in the phobos source. Ares 
>> makes it even simpler, I believe, but I think Sean can help you with 
>> that better than I can.
> 
> Sorry if I wasn't clear, perhaps it's because of my English. I do not 
> intend to write low level stuff like GC. I write applications.
> 

... and in those applications you said you were willing to write manual 
memory management code. I don't think the step from there to hooking 
your malloc/free code with the gc hooks is that difficult. I mean, in 
any sane manually managed memory environment, you are gonna want to have 
some sort of bookkeeping anyways, so why not implement it in a way that 
would benefit you? But perhaps I really did misunderstand you.



More information about the Digitalmars-d mailing list