Re:A List of Hacker News's Undocumented Features and Behavio...
by bombcar on Monday April 19, 2021 @09:47PM
(#26869864)
A byte is a collection of bits - now almost universally standardized on 8 bits because of network protocols and encodings - but older computers the byte wasn’t as important as THE WORD which was the bit width the machine could process at once. We now refer to 128bit instructions but those are more properly an instruction with a 128bit word.
Lisp provides the ability for arbitrarily defined bytes.
Re:A List of Hacker News's Undocumented Features and Behavio...
by FridayoLeary on Monday April 19, 2021 @10:01PM
(#26869939)
so i wasn't totally wrong. It's mainly semantics.
Since i'm here, why do most storage mediums i.e usb, phones sd ostensibly follow this method (1gb 2,4,8!,16,32 etc) and why are they almost always a few hundreds mb off?
Re:A List of Hacker News's Undocumented Features and Behavio...
by philwelch on Monday April 19, 2021 @10:50PM
(#26870198)
A kilobyte can be defined as either 1024 bytes or 1000 bytes. Similarly, a megabyte could be 1024 kilobytes or 1000 kilobytes, and so forth. Really, 1024 is the number that makes more sense, but hard drive manufacturers promoted the “1000 bytes” interpretation so they could advertise their hard drives as having more megabytes.
Some standards organizations tried to “solve” the issue by defining a “kibibyte” as 1024 bytes and so forth, but you only ever see those in abbreviated forms (ie KiB). I personally hate that convention; the words are aesthetically atrocious and were only invented to please pedants (who annoy me) and dishonest marketing people (whom I detest even more).
Re:A List of Hacker News's Undocumented Features and Behavio...
by atat7024 on Tuesday April 20, 2021 @09:49AM
(#26874607)
Isn't this the difference between speed notation and size notation?
Re:A List of Hacker News's Undocumented Features and Behavio...
by D-Coder on Monday April 19, 2021 @11:32PM
(#26870404)
Some older machines had different byte lengths. I believe Burroughs had 7-bit bytes. PDP-10s had 36-bit words which could be divided into any byte size that you liked; 7 bits was common, but if you needed them you could get 1-bit bytes, 6 bit (which was used to encode filenames), 8 bits, whatever.
Can you elaborate? My older relative who studied computers thought byte= 8 bits. I also thought so. My ego is taking a hit tonight.