
Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
( , Sun 1 Apr 2001, 1:00)
« Go Back | Popular

Warning: Technical Post
Since when the cock does Redhat Linux have the same endian-ness as Windows?
I've been staring at the same kitten-raping bit of code for two days now, wondering what the paedophile was wrong with it, and all I had to do was switch off the swap-endian flags. Surely Unix is the opposite endian-ness to Windows?
/breathes out
( , Fri 21 Nov 2008, 9:55, 10 replies, latest was 16 years ago)

that if you code properly you never need to know the endian-ness of the computer you're using.
EDIT: And unix running on an x86 processor or variant is little-endian.
( , Fri 21 Nov 2008, 10:01, Reply)

Unfortunately I'm using a butchered version of someone else's code to read in some data which in some sexually-deviant not-quite-binary format, so I don't think I can get around the endian-ness.
( , Fri 21 Nov 2008, 10:03, Reply)

*jumps up and down clapping*
Can I have a biscuit and some juice please?
( , Fri 21 Nov 2008, 10:15, Reply)

And when I escape from the confounded packaging of this flapjack, I'll save a bit just for you.
Would Freddy like a piece as well?
( , Fri 21 Nov 2008, 10:21, Reply)

Will you be my dog? I'm hoping the juice will be Kia Ora?
( , Fri 21 Nov 2008, 10:23, Reply)

And yes, I'll be your dog. I've always wanted to be able to poo in public and have someone pick it up for me.
CRAAA....I mean, um...WOOF!
( , Fri 21 Nov 2008, 10:25, Reply)

But I thought the endian was related to the processor e.g. x86, it was running on rather than the operating system.
For most desktop machines these days Linux and Windows happily run on the same bit of hardware.
Meh, what do I know though? I have the mother of all hangovers.
( , Fri 21 Nov 2008, 10:48, Reply)

The code in question was originally written to work on a Sun. My foolish assumption was that, since the Sun OS was based on Unix, the difference in endian-ness was a software thang, and so would naturally be the same for Linux.
A quick retrospective look on Wikipedia suggests that it is indeed related to the processor, not the OS. D'OH!
( , Fri 21 Nov 2008, 10:51, Reply)
« Go Back | Reply To This »