That would allow us to finally declare lists of booleans without needing any specialization or losing the possibility of referencing elements.
That would allow us to finally declare lists of booleans without needing any specialization or losing the possibility of referencing elements.
You mean like the famous PDP-6 from 1964? The width of a byte was variable and could be as small as 1: http://pdp10.nocrew.org/docs/instruction-set/Byte.html
(That's the PDP-10 instruction set documentation, but the PDP-6's instruction set was essentially identical).
I never wrote PDP-6 code but wrote a lot of PDP-10 code and the byte instructions were used heavily. In particular characters were commonly six or seven bits wide so string manipulation used byte pointers and was quite fast, but they were also good for packed arrays of all sorts of sizes.
> Bytes are variable length (1 to 8 bits).[17]
edit: I hadn't started doing systems programming yet, but now that I am I would like it even more
Obviously dealing with legacy formats that are bit or byte aligned should still be supported using char arrays, it just would require compiler assistance for pointers.