I was going through http://www.parashift.com/c++-faq/index.html and there I found that byte can also be 64 bits http://www.parashift.com/c++-faq/very-large-bytes.html. Is it possible and what is the use of that much amount of storage capacity for a byte?
I was going through http://www.parashift.com/c++-faq/index.html and there I found that byte can also be
Share
The point isn’t the usefulness of a big-byte “per se”, but the fact that, for the standard, a byte is the smallest addressable quantity on the system1; if a system cannot address its memory in units smaller than 64 bits, then
charwill be 64 bit.Obviously it’s almost impossible to find such strange stuff on modern general-purpose computers, these weirdnesses come out on very specialized hardware (I heard DSPs are particularly prone to this kind of stuff), usually for performance reasons.
You can see more about this in this other FAQ.