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

Home » Public Forums » archive » IDL 8.0 compile_opt changes
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 8.0 compile_opt changes [message #69241 is a reply to message #69187] Sun, 27 December 2009 19:44 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Dec 26, 7:21 pm, "H. Evans" <bloggs...@googlemail.com> wrote:
> So, what's the problem with using a "new" syntax that involves the
> comment character? This is what happens with numerous Unix shell
> scripts. For example:
>
> ;!compile_opt idl1
>
> which would not break old code, but would inform the new version that
> the old syntax should be used when interpreting the .pro file. This
> could/should be the first line of the file. This would make converting
> older files a doddle with the flexibility of setting the default
> compile_opt to idl2 while at the same time not breaking the file for
> older versions of IDL. Ideally a flexible syntax should be specified
> (could even be XML format if we really wanted to be absurd) that can
> be encapsulated in the commented header of a file.
>
> I'm still partial to a new file extension, though. As mentioned
> before, it worked quite well with the FORTRAN community (and let's
> face it, there hasn't been a compiled computer language to rival
> Fortran developed in the last 20 years.). And let's not forget that
> minor, but much needed upgrade to c: c++.

I used Fortran as an example because C++ is so far from C that it
seems more like a new language rather than an upgrade. But same as
Fortran, they also generally use the same compilers, which decide what
to do based on the file extension.

An example of the trouble of a backward-incompatible update keeping
the same extension is the current situation with Python. Python 3 has
been out for about one year now, and still some major Linux
distributions ship with Python 2, because of all the old software that
would not work unchanged. Which slows down the transition, forcing the
use of the older version in new software being developed now.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: envi_title_bar.ico missing and null pointer dereferenced error when using .sav file in ENVI
Next Topic: A routine to annotate PS files

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

Current Time: Wed Oct 08 18:26:16 PDT 2025

Total time taken to generate the page: 0.00627 seconds