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

Home » Public Forums » archive » Re: IDL to C translator
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 to C translator [message #11387] Thu, 09 April 1998 00:00 Go to previous message
davis is currently offline  davis
Messages: 15
Registered: March 1995
Junior Member
On Tue, 07 Apr 1998 10:28:11 -0500, Liam Gumley <Liam.Gumley@ssec.wisc.edu>
wrote:
> Just out of curiosity, why would you want to translate a working IDL
> application into C or FORTRAN?

I can think of several reasons: speed, portability, and
maintainability.

IDL is fast only when one is able to vectorize everything.
Unfortunately, this is not always possible. For example, I once
re-wrote an IDL application in C that would not completely vectorize
and achived a factor of 20 in speed. Of course this was more portable
because the resulting program was able to compile and run on systems
that did not have IDL. Finally, it is more maintainable because, in
my opinion, IDL is not a good language for projects that require many
lines of code because it lacks basic support for variable
declarations, etc... In fact, when I ported the IDL program to C,
several variable name spelling errors were uncovered because all C
requires that one declare all variables before use.

--John
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Three questions
Next Topic: Help with IDLgrAxis

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

Current Time: Fri Oct 10 14:06:26 PDT 2025

Total time taken to generate the page: 0.55842 seconds