Byte Order (Endianness)
Vložit
- čas přidán 22. 07. 2024
- This computer science lesson explains what is meant by byte order, also known as endianness. It covers the difference between storing data in memory, or files, either in big-endian format or little-endian format. The historical advantages of each byte order are discussed, but the video also explains why both byte orders are equally as good with today’s computers. The endianness used when transmitting data on computer networks, that is Network byte order (big endian), is also described.
Chapters:
00:00 Origin of the terms Big Endian and Little Endian
01:34 Definition of Big Endian and Little Endian
03:50 Converting between binary and hexadecimal
04:08 Storing bytes in the computer’s memory
06:15 Adding bytes together
10:53 Network byte order
12:08 Endianness and file types
A man with a depth undoubtedly... Love how clearly and interestingly you explain things. It is always fascinating to see that many technical terms (in technology and science) are coined in somewhat "childish" or "playful" manner having a nice story behind. Excellent videos! Thanks. :)
For the first time in my life, this is crystal clear.
Wonderful explanation✨✨
Thank you. I'm delighted to help :)KD
Your whole channel is a treasure trove of knowledge. Thanks for taking the time to produce and upload these videos.
You are very kind, and most welcome :)KD
Loved the explanation… I know these concepts, but still find it fascinating
Thank you :)KD
Wonderful lecture!
Great video! Thank you
Love your videos man, keep it up
Thank you :)KD
Fantastic effort!
Thank you :)KD
Thank you…
You're welcome :)KD
my professor had the brilliant idea to invent the "middle-endian" (something like b3, b1, b0, b2) which was used in a simple file format he had invented and we had to write a decoder for that file format in java as a test
Sounds like chewing gum for the mind, but there is probably a good reason it isn't really done like this. :)KD
i dont understand how little endian removes the need to wait for a carry bit
I thought it is because of the fact that you Start to calculate on the lowest adress. If a number is stored in Big Endian you Start calculating on the MSB and you have to wait for All the carry bits that are calculated in the higher adresses following. Until you are at the highest adress where the LSB is stored. Can somebody correct because that's the explanation that came to my head?
interestingly gulliver's travels also depicts something like a computer although he uses it as a satirical device, the inventor of it wants to write useful scholarly books by calculating every permutation of words/letters mechanically and recording when they make sense
Perhaps Jonathan Swift was a computer scientist at heart :)KD
You should do a video on pipelining
How does the byte ordering relate to eggs besides being mentioned in the paper? Big endian numbers are the opposite of an egg with it's big end up, as the larger numbers are at the bottom (lower memory address)?
It's just a bit of fun really :)KD
Excellent
Thank you :)KD
@11:07 big endian has LSB stored at the highest memory address so AA (106) is LSB not MSB or do I understand it wrong ?
That animation got me confused too. Given that any data transfer in networking uses big endian (or network byte order), my understanding was the the first byte to be transmitted would be DD at location 103 (instead of AA at location 106), then CC at location 104, and so on since in big endian, the most significant byte is stored at the lower memory address (or alternatively, the least significant byte is stored at the higher memory address).
10:47 -just a reminder for myself
A quick life hack about hexadecimal! Each digit represents 4 bits in binary if u ever want have a na easier time with conversions! I know it was said in the video but you really don't appreciate this fact until it bites you in the ass
I don't care for Johnathan Swift thank you very much
You are smarter than Neil Gray Tyson
Who thinks numericals comes from Arabs numericals rather Hindu numericals.
dhanyavaad :)KD
😷🍌
🍔🍟 :)KD