Hacker News new | past | comments | ask | show | jobs | submit
But how many bytes are there in a word?
If you're on x86, the answer can be simultaneously 16, 32, and 64.
loading story #41876081
"Word" is an outdated concept we should try to get rid of.
You're right. To be consistent with bytes we should call it a snack.
Henceforth, it follows that a doublesnack is called a lunch. And a quadruplesnack a fourthmeal.
loading story #41875163
loading story #41874984
loading story #41875850
It's very useful on hardware that is not an x86 CPU.
As an abstraction on the size of a CPU register, it really turned out to be more confusing than useful.
loading story #41875078
loading story #41875003
loading story #41874993
How exactly ? How else do you suggest CPUs do addressing ?

Or are you suggesting to increase the size of a byte until it's the same size as a word, and merge both concepts ?

I'm saying the term "Word" abstracting the number of bytes a CPU can process in a single operation is an outdated concept. We don't really talk about word-sized values anymore. Instead we mostly explicit on the size of value in bits. Even the idea of a CPU having just one relevant word size is a bit outdated.
There are 4 bytes in word:

  const char word[] = {‘w’, ‘o’, ‘r’, ‘d’};
  assert(sizeof word == 4);
I've seen 6 8-bit characters/word (Burroughs large systems, they also support 8 6-bit characters/word)