[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pascal system
Paul Schlyter wrote:
> I don't agree with that one..... Apple Pascal lacked the "dispose"
> statement and relied only on mark/release for its memory management.
> Perhaps you referred to code being swapped in and out of disk? Yep,
> that was nice, and as good as the memory management in e.g. Zork --
The worst bit was the dispose statement was meant to be there, but left
out: The Apple Pascal manual mentions it as a deprecated feature :-(
I used to get around it by creating a free list manager for the type I
needed dynamic allocation on, it was easy enough, but unnecessary with
dispose.
Why they left it out I'll never quite undertand - simple block
management of a heap isn't exactly rocket science, though I suppose it
can increase the overhead of the New statement a fair bit.
Matt