View mode: basic / threaded / horizontal-split · Log in · Help
February 24, 2011
Re: Uh... destructors?
On 2/24/11, Kevin Bealer <> 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.
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home