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

Home » Public Forums » archive » IDL Memory Leaks
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: IDL Memory Leaks [message #27836 is a reply to message #27679] Tue, 06 November 2001 10:16 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JD Smith (jdsmith@astro.cornell.edu) writes:

> Correction, kindly pointed out by an RSI developer... the feature
> introduced to put a halt to David's perverse misuse of base widgets was
> *handles*, not pointers. Interestingly, he also filled me in that
> handles in fact *were* base widgets internally, stripped of everything
> by the uvalue. I had obviously attempted to elide those from my memory,
> and not without due cause. Let's hope we remember handles only as a
> curious side-excursion in IDL history, and insist on pointers in all our
> code.

While we are getting a history lesson, I'll just
point out that using unrealized base widgets as pointers,
handles, or whatever, was not my idea. Like most of my
really good ideas, I stole this one from someone smarter
than me, Josh Goldstein, who was one of the best IDL programmers
I ever saw. He could write IDL code faster than I could think!

I admit that I publicized this perverse idea,
but only because I found it useful for building
weird data sets and I found the notion of "pointers"
helpful in flogging IDL programming courses.

I still run into an occasional program that uses
unrealized base widgets in this way. And I'm
happy to say those programs still run. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 5.5 call_external passing strings
Next Topic: how to save the xobjview image into a file IN COLOR ?

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

Current Time: Fri Oct 10 17:18:33 PDT 2025

Total time taken to generate the page: 0.47878 seconds