[DUG] Dumb Friday Question
Moretti, Giovanni
G.Moretti at massey.ac.nz
Fri May 4 17:04:05 NZST 2007
> Tim Jarvis [Tim.Jarvis at codegear.com] wrote:
> Firstly I agree with the sentiment that you should try and avoid
creating objects
>> in one place and freeing in another ...
This whole discussion is close to my heart. I've got a similar horrible
situation where I've got a factory that produce objects that have 3D
coordinates and these are passed around, may have their coordinates
updated, and may end up get fed to a genetic optimiser, which may
replicate the object (possibly many times) for the next generation.
I've had to clone the objects which isn't pleasant. It's so easy with
numbers/records and so messy with objects ...
It's made me want to move to a language that has proper, transparent
garbage collection. Anyone remember Lisp?
Time to go out into the sunshine and forget about memory management :-)
It's a glorious afternoon in Palmerston North - contrary to popular
belief, we do have them ...
Cheers
Giovanni
=====================================================================
Giovanni Moretti | Institute of Information Sciences and Technology
Senior Lecturer | Massey University, Palmerston North, New Zealand
Computer Science | Ph 64-6-3505799x2474 =Fax 64-6-3502259 == ZL2BOI
=====================================================================
http://www-ist.massey.ac.nz/moretti mailto:G.Moretti at massey.ac.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070504/409cd761/attachment.html
More information about the Delphi
mailing list