From: jfm6@jagunet.com (John McNamara)
Subject: Re: DEC Alpha- big endian or little endian?
Date: 1996/02/03 [thread overview]
Message-ID: <jfm6-0302962341500001@dlup-j.jagunet.com> (raw)
In-Reply-To: 4ejjs1$2pr@sun20.ccd.bnl.gov
In article <4ejjs1$2pr@sun20.ccd.bnl.gov>,
olchansk@a0.phy.bnl.gov (Konstantin Olchanski) wrote:
>Folks- what is the endianess of the DEC Alpha machines?
>
>Let me try to describe my problem-
>
[snip]
>
>The problem is that all our data sets are written in the
> big-endian format and the little-endian version
> of our code cannot read them.
>
>I understand that it is possible to write a
> "data converter" to covert our data between
> little-endian and big-endian representations.
>
>This approach requires a fair amount of work
> and has some drawbacks, such as slower programs
> (if data is coverted on-the-fly) or increased
> disk space usage (if we have to keep two versions
> of the data- big-endian and little-endian).
>
[snip]
>
>
>
>Konstantin Olchanski, olchansk@b1.phy.bnl.gov
Why not just write the few lines of code to swap bytes on
read and write? If you're really dealing with large files,
the programs are likely memory bound in which case the few
extra logical ops to swap bytes should be essentially free.
John
--
John McNamara "I am not a number, I am a free man"
jfm6@jaguNET.com -- No. 6
next prev parent reply other threads:[~1996-02-03 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-29 5:00 DEC Alpha- big endian or little endian? Konstantin Olchanski
1996-02-03 5:00 ` John McNamara [this message]
1996-02-04 5:00 ` bruce
1996-02-09 5:00 ` Konstantin Olchanski
1996-02-16 5:00 ` bruce
1996-02-04 5:00 ` fairfield
1996-02-05 5:00 ` Steve Lionel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox