← Back to context

Comment by throwaway889900

6 hours ago

But how many bytes are there in a word?

"Word" is an outdated concept we should try to get rid of.

  • Appeasing that attitude is what prevented Microsoft from migrating to LP64. Would have been an easier task if their 32-bit LONG type never existed, they stuck with DWORD, and told the RISC platforms to live with it.

  • 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)