"big endian" and "little endian"

Programming, for all ages and all languages.
Post Reply
Perica
Member
Member
Posts: 454
Joined: Sat Nov 25, 2006 12:50 am

"big endian" and "little endian"

Post by Perica »

..
Last edited by Perica on Sun Dec 03, 2006 9:14 pm, edited 2 times in total.
mystran

Re:"big endian" and "little endian"

Post by mystran »

Actually, I see the only complication of Little Endianess that when transferring data to Big Endian machine, you need to swap the bytes, which is impossible, unless you know the datastructure, but anyway, there's now reason why big endian would make life any simplier. I agree though, that having one universal format would be nice, which one, doesn't matter.
sonneveld

Re:"big endian" and "little endian"

Post by sonneveld »

I thought it was more because you can read the whole number, or the lower byte/word from the same address. If you want to read the lower byte in a big endian system, you have to know how wide the number is first.

- Nick
Post Reply