Skip to main content
Andreas's user avatar
Andreas's user avatar
Andreas's user avatar
Andreas
  • Member for 8 years, 4 months
  • Last seen more than a month ago
awarded
comment
Is power-of-two bits per word "convenient"? If it is, why is that?
Interesting theory about production technical level. You might be on to something. Could you extend the paragraph or maybe provide a link explaining the basics?
revised
Is power-of-two bits per word "convenient"? If it is, why is that?
Rephrased question to allow wider range of answers
Loading…
revised
Loading…
awarded
revised
Is power-of-two bits per word "convenient"? If it is, why is that?
Forked out the "hints" to proper link, quotes and comments.
Loading…
comment
Is power-of-two bits per word "convenient"? If it is, why is that?
@RobertHarvey In the answer to "What is the history of why bytes are eight bits?" (also linked in my question) there is the following sentence: "Binary computers motivate designers to making sizes powers of two." Did I misread this too? What do both sources mean in your opinion? Just saying "you got it wrong" is not really doing it for me.
comment
Is power-of-two bits per word "convenient"? If it is, why is that?
Interesting point about UTF, although being slightly off-topic. Floating point byte (or bit) size is an endless battle between memory and precision where you just have to live with one or the other. Good point about bit arrays too.
comment
Is power-of-two bits per word "convenient"? If it is, why is that?
Thank you. Your answer is spot on and you brought references. You have my vote. I realize though if what you say is true it is also impossible to prove. Can´t prove the non-existance of something. I guess I should really interogate the ones claiming "convenience" and check their sources. Maybe it is just a wide spread rumor.
comment
Is power-of-two bits per word "convenient"? If it is, why is that?
@BradThomas "1,2,4 and 8 all divide into 8"? Could you explain the convenience with this property and tell me why 12 would be inconvenient? Thanks in advance!
awarded
comment
Is power-of-two bits per word "convenient"? If it is, why is that?
I will not accept this as an answer. My question is why power-of-two is convenient, not why defacto standard is 8-bit. And the history behind 8-bit mentions 5, 6 and 7 bits being used for real reasons, while going from 7 to 8 is motivated with a "meh, why not". I got the feeling reading different sources power-of-two had more to it than compatibility to current systems. (In reality the 8-bit gave 7-bit character sets parity.) Word is a different thing where I do get the benefit of power-of-two sizes, i.e. shift can be used instead of mult in calculations.
comment
Is power-of-two bits per word "convenient"? If it is, why is that?
@jameslarge Being a C/C++ programmer I think of the byte as the smallest addressable unit of memory. Does that help?
awarded
Loading…
awarded
1
2