Big-Endian vs Little-Endian Comic Showing Reversed Byte Order Communication
Description
A four-panel black and white comic titled 'BIG-ENDIAN OR LITTLE-ENDIAN'. An i32 character (representing a 32-bit integer) encounters a BE (Big-Endian) character whose speech is reversed: 'ME! EXCUSE ME! EXCUSE' and 'PROCESSOR? CENTRAL THE TO WAY THE ME TELL YOU COULD LOST. I'M'. In the third panel, i32 points and says 'THERE' and BE responds 'MUCH! VERY YOU THANK'. In the final panel, i32 says 'BRR... I CAN'T BELIEVE SOMEONE LIKES TO USE THESE FREAKS' as the BE character walks away. The comic brilliantly illustrates byte order differences by having the big-endian character speak with reversed word order
Comments
31Comment deleted
The real nightmare isn't big-endian vs little-endian -- it's middle-endian PDP-11 byte order, which speaks like Yoda having a stroke
This is why ntohl() exists: to translate from the sensible network big-endian to the chaotic-neutral little-endian freak show running on your x86 machine
Sure, the little-endian guy looks ridiculous, but wait until your cross-platform network packet hits prod and you realise the bytes have been break-dancing all along
After 20 years of debugging network protocols, I've concluded that endianness debates are just a clever distraction from the real problem: nobody remembers to call htons() until production crashes at 3 AM when your distributed system tries to talk to that one legacy SPARC server accounting refuses to decommission
When you're at a systems programming conference and realize the little-endian folks are just big-endian people who've been reading memory addresses backwards their whole career
You haven’t truly shipped cross‑platform until your magic 0xDEADBEEF shows up as 0xEFBEADDE on the lone ARM node and everyone insists the wire format is “obvious.”
Clap clap: little-endian processors hyping LSB-first, one byte at a time
ym tsenoh noitcaer ot siht noitamrofni Comment deleted
At my work we store a flammable liquid and oxidizer next to each other Comment deleted
Controlable self-destruction protocol Comment deleted
bro works in a videogame istg Comment deleted
We also store two chemicals next to each other that combust when combined Comment deleted
I admire your self-control Comment deleted
What's fun is the only thing stopping a fire every day is trust that the water washed all of chemical a out of the pitcher before grabbing chemical b Comment deleted
Rocketry? Comment deleted
CIP/SIP. CIP caustic and Perisan A Used for cleaning and sanitizing the internals of the cider packing equipment (procarb, canner, hoses) Comment deleted
Either endianness has its pros and cons, depending on task. 🕊 Comment deleted
Human languages use big-endian numbers nowadays only because our numeric system is of arabic origin, and they write right-to-left Comment deleted
It's much more useful to know the number of largest position first. Like when you see a price on an item: let's say you wanna buy some thing and anything under $219 suits you. You enter a shop, see that the item of interest is 3 figures and starts with 1, and you're like "Nice, I'm buying it", without proper acknowledgement of other two positions. And if you see it start with 3 or 4, you discard the purchase without the need to acknowledge two other positions. Or if you see it's $28?, it's too expensive and is discarded without the acknowledgement of the last digit. Now, when we buy the thing in cash, we need to find the corresponding coins or bills to pay. And again, it's much more convenient to start with greater numbers. Comment deleted
The key thing here is that uyou first need to see that it has 3 figures. This means you need a linear pass over the entire number before you canuse the first digit for comparison. There is no performance benefit to doing this in big-endian over little endian, since you'll be going over the entire number once anyway Comment deleted
Starting with the most significant part provides an advantage when it is immediately labeled with its magnitude: for instance, "one thousand three hundred twenty five" Comment deleted
So I agree that it makes sense in spoken numerals (and this is why most languages, to my knowledge, say numbers this way -- but also, these systems have nothing to do with arabic numerals, so my original point still stands) Comment deleted
it doesn't matter, I'll have to do that pass in both BE and LE, unless we add the number length at the start. But, I can _skip the acknowledgement_ of the figures. I don't read the whole 3453664, I just read 3,XXX,XXX, and only cognate the other 453,664 if I will see it necessary (except the case when I know beforehand that that's necessary). Comment deleted
You may do the same in little endian: XXX,XXX,3 Comment deleted
In general, numeric operations like addition and multiplication are more efficient in little endian (since they don't require a preliminary linear pass and go in the natural direction), while others like subtraction (hence comparison) and division are as efficient, because they required a linear pass (to align the less significant edge) in big endian as well Comment deleted
Truth. But then we go back to the point that that would contradict the spoken order: even tho we can fast-forward the written text, we cannot do the same with speech, and it's more convenient to say the larger parts first. And my point is, we would have had the numbers written like this anyway. Babylonian and Roman systems had tens before ones (set aside the Roman subtraction that got set the other side). But I cannot disagree that Arabic origin did come in handy here. Comment deleted
Are number written in little endian in arabic languages ? Comment deleted
don't we already use arabic numericals? Comment deleted
now that I think about it, there's no rule for numbers to be written right to left. In fact, the main reason why Arabian script is little endian because the letters are designed to connect towards left, similarly to our cursive where letters have tails on the right Comment deleted
this comic would've been peak if you could like mirror the image and still make sense Comment deleted
Now, obviously habit is an important factor -- there's a huge penalty to switching to a different format, which far outweighs any potential benefits -- but in principle, I stand by my point that little-endian is, mathematically, the natural notation Comment deleted