Specifically, has there even been a C++ compiler on a system where bytes weren't 8 bits? If so, when was it last updated?
C++ proposal: There are exactly 8 bits in a byte
71–80 of 357 posts
Re: C++ proposal: There are exactly 8 bits in a byte
#72Some people are still dealing with DSPs. https://thephd.dev/conformance-should-mean-something-fputc-a... Me? I just dabble with documenting an unimplemented "50% more bits per byte than the competition!" 12-bit fantasy console of my own invention - replete with inventions such as "UTF-12" - for shits and giggles.
Re: C++ proposal: There are exactly 8 bits in a byte
#73So please do excuse my ignorance, but is there a "logic" related reason other than hardware cost limitations ala "8 was cheaper than 10 for the same number of memory addresses" that bytes are 8 bits instead of 10? Genuinely curious, as a high-level dev of twenty years, I don't know why 8 was selected. To my naive eye, It seems like moving to 10 bits per byte would be both logical and make learning the trade just a li…
Re: C++ proposal: There are exactly 8 bits in a byte
#74This is entertaining and probably a good idea but the justification is very abstract. Specifically, has there even been a C++ compiler on a system where bytes weren't 8 bits? If so, when was it last updated?
Re: C++ proposal: There are exactly 8 bits in a byte
#75Re: C++ proposal: There are exactly 8 bits in a byte
#76Earlier quoted context omitted.
You're right. To be consistent with bytes we should call it a snack .
Henceforth, it follows that a doublesnack is called a lunch. And a quadruplesnack a fourthmeal.
Nybble - 4 bits
Byte - 8 bits
Snyack - 16 bits
Lyunch - 32 bits
Dynner - 64 bits
Re: C++ proposal: There are exactly 8 bits in a byte
#77This is entertaining and probably a good idea but the justification is very abstract. Specifically, has there even been a C++ compiler on a system where bytes weren't 8 bits? If so, when was it last updated?
Re: C++ proposal: There are exactly 8 bits in a byte
#78Earlier quoted context omitted.
Doesn't matter ternary computers just have ternary bits, 8 of them ;)
Supposedly, "bit" is short for "binary digit", so we'd need a separate term for "ternary digit", but I don't wanna go there.
It’s tricycle and tripod, not ticycle.
Re: C++ proposal: There are exactly 8 bits in a byte
#79Re: C++ proposal: There are exactly 8 bits in a byte
#80Previously, in JF's "Can we acknowledge that every real computer works this way?" series: "Signed Integers are Two’s Complement" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p09... >
https://github.com/torvalds/linux/blob/master/include/math-e...