From: "Donald H. Gudehus" <gpage11@comcast.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Linux/IA-64 byte order
Date: Fri, 30 Jan 2004 18:35:15 -0800 [thread overview]
Message-ID: <401B1463.3AEAF369@comcast.net> (raw)
>I write visualisation software for astronomy. This software is used
>all over the world, and often has to deal with very large
>datasets. It's not uncommon to "load" a dataset (a cube) but only view
>a small portion of it (a single plane (channel) of the cube). On
>big-endian machines I can avoid loading data and instead use memory
>mapping, because all the portable binary data formats are big-endian
>(FITS, Miriad and my own).
The SAD (Standard Astronomical Data) format is little-endian and was, in
fact, developed in your home country at Mt. Stromlo and Sliding Springs
Observatory.
>In the astronomy community, big-endian machines dominate (despite the
>growth of Linux/x86), and will always be favoured because the most
>important data format (FITS) is big-endian. When we tender for a new
>supercomputer, it is a requirement that it be big-endian.
>BTW: FITS has become a NIST standard and is widely used outside the
>astronomy community.
Here in the US, FITS can be big-endian or little-endian depending on
whether the keyword BYTEORDR equals BIG_ENDIAN or LITTLE_ENDIAN.
Unfortunately this keyword is not always used because the byte order was
never specified in the original FITS description. This naturally has
led to some confusion, with some facilities adopting big endian, some
adopting little endian, and some simply using the native format of the
machine.
Conceptually, it is more natural to have bits and bytes increase in
significance as system memory location (word address) increases. This
is of course completely independent of graphical representations where
bit significance increases to the left, byte significance to the left or
right, and word significance to the left or right (four possible cases).
Donald Gudehus
reply other threads:[~2004-01-31 2:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=401B1463.3AEAF369@comcast.net \
--to=gpage11@comcast.net \
--cc=gudehus@mindspring.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox