According to John Savard <quad…@invalid.com>:
>On Mon, 23 Nov 2026 02:42:08 -0000 (UTC), John Levine ><joh…@taugh.com> wrote: >
>>Except that on the PDP-10 we always used 7 bit characters, packed five to a word >>with the low bit sometimes used as a flag to indicate that the five characters >>were a line number. ...
>Ouch. But I'm surprised that the C compiler wouldn't be written to use >standard-sized bytes whenever using char pointers to copy memory... >and leave the non-standard-sized bytes programmers specified for their >calculations alone.
Routines like memcpy() take arbitrary pointers, cast them to char* and then use those to copy arbitrary chunks of memory. You could imagine various workarounds but the lannguage wouldn't be much like the C you had on other machines. If you can't port existing C code, why bother? BLISS worked fine and let you use any byte size you wanted.
>That, though, would have required an extension to the language to >indicate which type of "char" you're using for a given variable.
Keeping in mind this was a long time ago, C did have wide chars for a while when people thought 16 bits was enough, but I don't think they were very popular and I'm not sure either a 9 or 18 bit wide char would have been either.
-- Regards, John Levine, joh…@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly