DEV Community

Discussion on: Should a modern programming language assume a byte is 8-bits in size?

Collapse
 
sam_ferree profile image
Sam Ferree

it's an alias for octet.

binary Nbit where N is platform dependent is called a WORD

Thread Thread
 
mortoray profile image
edA‑qa mort‑ora‑y

No, a word typically refers to a natural integer or intstruction size, so 32-bit or 64-bit.

The term byte I'm using comes from the C/c++ standards that define it as platform dependent, and that is it's traditional definition. It's only after hardware standardized on 8-bits that it got that meaning.