comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Memory Cleanup-- Messy structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Memory Cleanup-- Messy structure [message #71467 is a reply to message #71382] Thu, 17 June 2010 17:10 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Jun 17, 12:43 pm, pp <pp.pente...@gmail.com> wrote:
> On Jun 17, 12:45 pm, Craig Markwardt <craig.markwa...@gmail.com>
> wrote:
>
>> On Jun 16, 1:50 pm, Ed Hyer <ejh...@gmail.com> wrote:
>
>>> Since I'm not a real programmer, I still consider pointers to be kinda
>>> voodoo. Can someone patiently explain how I manually clean up the
>>> memory in this case?
>
>> I still think RSI/Kodak/ITT dropped the ball on the design of this.
>> IDL is a high level language, not a low level language - "4th
>> generation" right?  IDL should be cleaning up messes like this, not
>> us.
>
> I think it is proper for the times when IDL originated, when it was
> too expensive to do automatic garbage collection. IDL 8 has it (it can
> be switched off), though one could argue that it should not have taken
> so long.

Uh, IDL "pointers" originated in IDL 5.0, ten years ago when all the
other scripting languages did automatic garbage collection.

I don't understand how it could be too expensive. The IDL interpreter
has precise knowledge and control of when variables go out of scope.
Dealing with cycles is its own problem, but basic garbage collection
should have been implemented from the start.

Now we are stuck with many years of maintaining meticulous pointer
allocation/deallocation discipline until IDL 5-6-7 are completely
obsolete.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Memory Cleanup-- Messy structure
Next Topic: SAVE compress and Gzip

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:11 PDT 2025

Total time taken to generate the page: 0.00479 seconds