On May 9, 5:35, "Arnim Littek" wrote:
>On Wed, 8 May 1996 06:20:31 +0200 (MET DST), firstname.lastname@example.org wrote:
>> PS: Little endian sucks.
>I'd be interested in your quantifiable reasons behind that, if you
We should avoid too much on this I think, however I agree with the 'le sucks'
opinion. The only feature I know about for little endian is the following:
J11 = 24
CALL YE_OLDE_CODE (J11,N)
WRITE (*,*) 'IF THIS WORKS IT IS PROBABLY A VAX',N
SUBROUTINE YE_OLDE_CODE (I0,I1)
I1 = I2 * 9
And as I really consider that a bug, not a feature, not much is left..
You could (in the past at least) find a lot of this among VMS programmers,
and it's a way of keeping huge amounts of old programs and code alive for a
little longer, in that even if you write all your new progs with 32 bit ints
you can still use the old old libs from 20 years back (with 16 bit ints)
without having to rewrite them. Of course this will fail in unpredictable
(and silent) ways when you call the old libs with values allowed for I4 but
not for I2.
A lot of times I've worked with people complaining about their code not
working on this **$! computer we're porting their code to.. and then had to
explain to them that the **$! comp is using something called Big Endian
and it's really a nice comp and that their programs are actually buggy :-)
And people get so confused when they try to convert between BE and LE,
because they don't realise that it applies to *integers* stored into memory
only, and not byte sequences in general (a struct with bitfields on a big
endian host will usually not have to be byte-swapped before it's inter-
changed with a LE host, for example). And even LE computers are usually BE
inside registers. This applies to e.g. DMA registers, and registers on
IO boards too -- this gives the byte-swappers no end of confusion.
On the other hand, BE is BE is BE all the time..
I would really like to switch my Olivetti M700-10 over to big endian at some
stage, if that's at all technically possible. If for no other reason than
that SGI and Sun are big endian and I want to interchange data and do other
(And then I have my really old bitstring functions laying around somewhere,
that's at least easier to write with BE)