Live data from Hacker News

We'd be better off with 9-bit bytes

pavpanchekha.com

21–30 of 359 posts

Re: We'd be better off with 9-bit bytes

#21
post #18
post #3

Yeah, but hear me out - 10-bit bytes!

One of the nice features of 8 bit bytes is being able to break them into two hex nibbles. 9 bits breaks that, though you could do three octal digits instead I suppose. 10 bit bytes would give us 5-bit nibbles. That would be 0-9a-v digits, which seems a bit extreme.

Crockford base32 would be great. it is 0–9, A–Z minus I, L, O, U.

Re: We'd be better off with 9-bit bytes

#22
When you stop to think about it, it really doesn't make sense to have memory addresses map to 8-bit values, instead of bits directly. Storage, memory, and CPUs all deal with larger blocks of bits, which have names like "pages" and "sectors" and "words" depending on the context.

If accessing a bit is really accessing a larger block and throwing away most of it in every case, then the additional byte grouping isn't really helping much.

Re: We'd be better off with 9-bit bytes

#23
We have already solved this problem many times.

In clothing stores, numerical clothes sizes have steadily grown a little larger.

The same make and model car/suv/pickup have steadily grown larger in stance.

I think what is needed is to silently add 9-bit bytes, but don't tell anyone.

also: https://imgs.xkcd.com/comics/standards_2x.png

Re: We'd be better off with 9-bit bytes

#24

The elephant in the room nobody talks about is silicon cost (wires, gates, multiplexirs, AND and OR gates etc). With a 4th lane, you may as well go straight to 16 bits to a byte.

This must be the real reason of using 8-bit. But then why did they make 9-bit machine instead of 16-bit?

Re: We'd be better off with 9-bit bytes

#25
post #15

Can you imagine the argument for 8bit bytes if we still lived in the original 6bit world of the 1950s? A big part of the move to 8bit systems was that it allowed expanded text systems with letter casing, punctuation and various ASCII stuff. We could move to the world of Fortran 36bit if really needed and solve all these problems while introducing a problem called Fortran.

There was already more than enough space for characters with 12-bit systems like the PDP-8. If anything, the convergence on 8-bit words just made it more efficient to use 7-bit codepages like ASCII.

Re: We'd be better off with 9-bit bytes

#28

Problem is, not only did we have decades of C code that unnecessarily assumed 8/16/32, this all-the-world-is-a-VAX view is now baked into newer languages. C is good for portability to this kind of machine. You can have a 36 bit int (for instance), CHAR_BIT is defined as 9 and so on. With a little bit of extra reasoning, you can make the code fit different machines sizes so that you use all the available bits.

was that assumption in C code really unnecessary? i suppose it made many things much easier.

Re: We'd be better off with 9-bit bytes

#30
> Thank you to GPT 4o and o4 for discussions, research, and drafting.

Note to the author, put this up front, so I know that you did the bare minimum and I can safely ignore this article for the slop it is.

Post reply on HN