February 24, 2011Re: Uh... destructors?
Posted in reply to Kevin Bealer
On 2/24/11, Kevin Bealer <firstname.lastname@example.org> wrote: > > I wanted to add something I just realized -- malloc is essentially pure if you can't compare the pointers it returns. Of course if you can't do either casting or arithmetic on these pointers I'm not sure how to use malloc. > > Kevin > Some people keep saying: even though having the GC is great, sometimes it's necessary to manually manage memory. But any time that argument is raised and someone mentions library support for manual memory management, the opposition says "if you want to manage memory, do it on your own, end of story." Don't ask me why /I'd/ need that, right now I don't. But others have raised this issue more than once.
Copyright © 1999-2016 by Digital Mars ®, All Rights Reserved