logoalt Hacker News

hvstoday at 7:41 PM2 repliesview on HN

A byte is always 8 bits. The word you're looking for is `word-size` which, in this case would be 4 bits.


Replies

jlokiertoday at 7:48 PM

A byte is not always 8 bits on old machines, though it is standardised as 8 bits nowadays.

This is why network RFCs talk of "octets", to avoid the ambiguity. Octets are always 8 bits.

https://en.wikipedia.org/wiki/Octet_(computing)

show 2 replies
quantifiedtoday at 10:10 PM

I think you might be missing the attempt at humor.