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

Home » Public Forums » archive » Speed and array operations
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Speed and array operations [message #54602] Thu, 21 June 2007 09:33
Conor is currently offline  Conor
Messages: 138
Registered: February 2007
Senior Member
I've often wondered about the speed of IDL compared to other
languages. Now, it is my understanding that IDL isn't really a
compiled language (please, correct me if I'm wrong). Although the IDL
interpreter "compiles" and IDL program before you run it, apparently
it isn't compiled all the way down to machine code. As such, I'm
under the impression that natively, IDL is always going to be slower
than a fully compiled language such as C or fortran. However, it
seems to me that there might be case where IDL might still be
quicker. Namely, array operations. My question is, is it possible
for IDL to be faster than a fully compiled language? Are the array
operations in IDL so well optimized that adding together gigantic
arrays in IDL would actually be faster than the equivelent for-loop
style methods you would have to use in fortran or C? Or are C and
fortran always faster? Or do I completely misunderstand how these
languages work?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: segmentation fault error in IDL
Next Topic: Re: Speed and array operations

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

Current Time: Wed Oct 08 13:53:03 PDT 2025

Total time taken to generate the page: 0.00507 seconds