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

Home » Public Forums » archive » Beginner, Question
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: Beginner, Question [message #91784 is a reply to message #91777] Wed, 26 August 2015 08:00 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Tuesday, August 25, 2015 at 8:06:59 AM UTC-6, Jeremy Bailin wrote:
> On Monday, August 24, 2015 at 11:49:44 PM UTC-5, justdo...@gmail.com wrote:
>> I'm not programmer.
>>
>> I have a question.
>>
>> What is a advantage of idl. comparison with python?
>>
>> It is not sarcastic. just question.
>
> The major reason that it is used a lot in astronomy is because there is a large well-tested codebase out there of routines that make oftentimes very complicated and necessary astronomical tasks fairly easy. There is currently a large effort underway to replicate all of that functionality in Python, and they are making great strides, but for many many tasks, the best and easiest way of doing them is using existing IDL routines.
>
> I suspect the situation is similar in the other fields where IDL is prominent -- it's not so much that the task can't be done in Python, as that the effort required to rewrite routines with the existing sophistication and robustness hasn't been finished yet.
>
> -Jeremy.

Hi Jeremy,

Good answer. Also, not to start a flame (or religious) war, but I would also say that both languages have their strengths and weaknesses. IDL's interpreter is faster than Python's, so if you are writing lots of general purpose code, or trying to build a large application, then IDL may serve you better. IDL's image processing routines are in general faster, although this may vary depending upon the routine and the platform. Finally, IDL's built-in array routines are much faster than Python's built-in arrays (not numpy!). On the other hand, Python's numerical routines (especially in linear algebra) may be faster on certain platforms (such as Intel), where they have been fine tuned. Finally, Python has a broader selection of modules available, although these can be of varying quality since it is open source.

Finally, one more point - since IDL 8.5 now includes the Python->IDL and IDL->Python bridge, you really can't go wrong either way.

Cheers,
Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FG PLOT options HISTOGRAM/STAIRSTEP but for horizontal display?
Next Topic: round up

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

Current Time: Wed Oct 08 16:02:08 PDT 2025

Total time taken to generate the page: 0.00220 seconds