Article View: gnu.misc.discuss
Article #73867Re: Patent on a standard-byte order for intermachine communication
From: Don Wells
Date: Wed, 17 Jul 1991 19:40
Date: Wed, 17 Jul 1991 19:40
42 lines
3225 bytes
3225 bytes
In article <1738@opus.NMSU.Edu> sitze@nmsu.edu (Richard Sitze) writes: ".... Someone else pointed out possible prior art in the form of a standard data format used by observatories, and I'm sure that quite often they run into the situation where Scheme X is translated into Scheme Y, and then used at the 'destination' by translating into Scheme Z..." In January 1990 the FITS community activated an agreement to permit SP and DP floating point in interchange. We adopted IEEE, so that means that now a VAX writing a FP FITS file does VAX-->IEEE (and it does the byte swap, of course!) and then when a 370 reads it it does IEEE-->IBM (but doesn't need to do a swap, of course). FITS FP interchange between diverse architectures works just fine. "...My only complaint is against those who feel that the idea is to OBVIOUS. Yes, it is simple and a beautiful solution to the problem. But how many figured it out for themselves??..." Those of us who negotiated the FITS Agreement in 1979 did indeed figure it out for ourselves, as "lessons learned" from trial and error. You see, there is another "obvious" alternative convention which you did not mention: data type tagging. We built two different operational prototype formats during 1977-78 to test our ideas. Both formats demonstrated interchange between independent implementations on different architectures, a non-trivial achievement for 1978. One format had the canonical data type and data order convention that we ultimately used for FITS, while the other format had codes embedded in the byte stream to indicate the coding convention, 1s-complement, 2s-complement, sign-plus-magnitude, IBM, CDC, etc. The idea of this second design was "something for everybody", which would have the nice political advantage that nobody (e.g. a VAX owner) would feel like a second-class citizen, but the technical evaluation of the experiment was "YUUCCH!". So in the final FITS negotiation we decided to adopt canonical types with a canonical byte order. -- Donald C. Wells Associate Scientist dwells@nrao.edu National Radio Astronomy Observatory +1-804-296-0277 Edgemont Road Fax= +1-804-296-0278 Charlottesville, Virginia 22903-2475 USA 78:31.1W, 38:02.2N
Technical Details
Message-ID:
<DWELLS.91Jul17144022@fits.cx.nrao.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!ncar!gatech!taco!mcnc!uvaarpa!polaris.cv.nrao.edu!polaris.cv.nrao.edu!dwellsReferences:
<gnusenet9107131607.AA14833@mole.gnu.ai.mit.edu> <1727@opus.NMSU.Edu> <709@silence.princeton.nj.us> <1738@opus.NMSU.Edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,9a4c815047ed049b X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-07-17 23:29:19 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!ncar!gatech!taco!mcnc!uvaarpa!polaris.cv.nrao.edu!polaris.cv.nrao.edu!dwells From: dwells@fits.cx.nrao.edu (Don Wells) Newsgroups: gnu.misc.discuss Subject: Re: Patent on a standard-byte order for intermachine communication Message-ID: <DWELLS.91Jul17144022@fits.cx.nrao.edu> Date: 17 Jul 91 19:40:22 GMT References: <gnusenet9107131607.AA14833@mole.gnu.ai.mit.edu> <1727@opus.NMSU.Edu> <709@silence.princeton.nj.us> <1738@opus.NMSU.Edu> Sender: news@polaris.cv.nrao.edu (News Manager) Organization: National Radio Astronomy Observatory, Charlottesville, VA Lines: 42 In-Reply-To: sitze@nmsu.edu's message of 17 Jul 91 16: 05:38 GMT