Remix.run Logo
elch 6 hours ago

IIRC PDP-11 was a 16 bit word machine with an 8-bit byte. Maybe you remember PDP-10 with 4x9=36 bit words?

zabzonk 19 minutes ago | parent | next [-]

Actually, if you were mad enough to use the feature, the Dec10 had 6-bit "bytes" - 6 to a word.

uecker 5 hours ago | parent | prev | next [-]

Anyway, I do not see how this affects the design of C in a way that makes no sense anymore today (except that one could require CHAR_BIT to be eight, but there are still DSPs where this is not the case). I think people repeat the "the C design reflects the out-dated PDP-11 hardware" meme because it sounds smart while in reality it is just nonsense.

pjmlp an hour ago | parent [-]

So when is WG14 standardising modern hardware into the C standard?

Basic stuff like SIMD, SIMT, without requiring users to go beyond language extensions, something that any programming language can offer in similar capacity?

uecker 10 minutes ago | parent [-]

Ah, the "what is not standardized does not exist" argument again.

shakna 3 hours ago | parent | prev [-]

On the 11, the UNIBUS was 18 bit, the program space was 16 bit, and addressing was 22 bit. So it depended if you were using I-space or D-space.