Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

English-speaking programmers still say "octet" for byte sometimes, for example when talking about IP addresses.


The term "octet" is used in IETF documentation (for IP addresses, for example) to be specific that the byte is 8 bits in length. Historically the size of a "byte" on a system was machine-dependent. The industry coalesced around the 8-bit byte, and differentiated it from "machine word" in the 70s and 80s.

Edit: I just checked wikipedia, and this is described there: https://en.wikipedia.org/wiki/Byte


Like the sibling says, octet is useful when in a networking context, because bytes weren't uniformly sized, but also because communications protocols were sometimes only 7-bit.

Serial ports and modems often operated in that mode, and UUCP influenced mail and newsgroups to only use 7-bit data; requiring encoding for data with the high bit set. Protocols that specify octets are dealing with 8-bit bytes and don't have to deal with that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: