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

Home » Public Forums » archive » Colors and Virtual Machine
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: Colors and Virtual Machine [message #49229 is a reply to message #49153] Wed, 05 July 2006 14:26 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 05 Jul 2006 21:09:34 +0000, Karl Schultz wrote:

> On Wed, 05 Jul 2006 11:23:31 -0700, JD Smith wrote:
>
>>> [quoted text muted]
>>
>>
>> Hi Karl,
>>
>> This brings up a related but different question. How hard do you guys
>> strive to keep the binary .sav format for compiled code backward
>> compatible? I.e. in statements like "This compiled .sav file requires
>> IDL version 6.2 or later", how far in general will "or later" extend?
>> Within major version number sets (e.g. 6.x?). Or is there any specific
>> policy on this?
>>
>> Obviously, forward compatibility is harder, e.g. allowing a 6.2-compiled
>> .sav to run under v5.X, but this is typically true of source code as
>> well, so there's no real expectation for that to work. However, 99.9% of
>> IDL source code (my guess) is backward compatible --- I'm just wondering
>> how often this compatibility gets broken for the compiled code, due to
>> changes in the .sav format or other ABI issues?
>>
>> JD
>
> Hey JD,
>
> As you know, save files containing data are always compatible.
>
> For code, our docs say that recompilation is needed when the "internal
> code format" changes and goes on to say that the format changed back in
> IDL 5.5 and any save files compiled with IDL versions prior to 5.5 need to
> be recompiled to run with IDL versions 5.5 and later. I think 5.5 was
> about 5-6 years ago.
>
> Major releases tend to coincide with significant functionality
> improvements and it would be too hard to time an internal code format
> change that is needed right now with major feature releases. Although I
> do understand the value of a major version number being associated with a
> stable API/ABI level.
>
> I think that we would advertise very clearly when such a change is made.
> We did so with 5.5. This situation is a lot like changes to the external
> programming interface such as the IDL_STRING string length field. I think
> that we would try very hard to avoid these sorts of changes and make them
> only when there are very good reasons.

Well that doesn't sound so bad. Just so I'm certain I have this
correct, aside from obvious compatibility issues in the source itself
(i.e. if we assume the underlying source code itself would properly
function), any compiled `.sav' produced with IDL>=v5.5 should work
fine with any version of IDL >=v5.5? That's *much* better than I
thought, and greatly reduces concerns of a given `.sav' file's
usefulness as it sits gathering mold in some corner... it's not much worse
than a pile of source code sitting in that corner, and in some ways,
better, since it contains a snapshot of any external library code at a
point of known compatibility.

Thanks,

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Colors and Virtual Machine
Next Topic: ESRI Shapefiles

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

Current Time: Sun Oct 12 10:44:04 PDT 2025

Total time taken to generate the page: 1.36174 seconds