←back to thread

288 points Twirrim | 4 comments | | HN request time: 0.43s | source
Show context
pjdesno ◴[] No.41874875[source]
During an internship in 1986 I wrote C code for a machine with 10-bit bytes, the BBN C/70. It was a horrible experience, and the existence of the machine in the first place was due to a cosmic accident of the negative kind.
replies(6): >>41874970 #>>41875234 #>>41875248 #>>41875733 #>>41875834 #>>41876076 #
Isamu ◴[] No.41876076[source]
I wrote code on a DECSYSTEM-20, the C compiler was not officially supported. It had a 36-bit word and a 7-bit byte. Yep, when you packed bytes into a word there were bits left over.

And I was tasked with reading a tape with binary data in 8-bit format. Hilarity ensued.

replies(2): >>41876112 #>>41876915 #
1. Ballas ◴[] No.41876915[source]
That is so strange. If it were 9-bit bytes, that would make sense: 8bits+parity. Then a word is just 32bits+4 parity.
replies(3): >>41877834 #>>41878226 #>>41881333 #
2. p_l ◴[] No.41877834[source]
7 bits matches ASCII, so you can implement entire ASCII character set, and simultaneously it means you get to fit one more character per byte.

Using RADIX-50, or SIXBIT, you could fit more but you'd lose ASCII-compatibility

3. ◴[] No.41878226[source]
4. otabdeveloper4 ◴[] No.41881333[source]
8 bits in a byte exist in the first place because "obviously" a byte is a 7 bit char + parity.

(*) For some value of "obviously".