/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
C++ proposal: There are exactly 8 bits in a byte
(www.open-std.org)
182 points
Twirrim
| 2 comments |
17 Oct 24 22:21 UTC
|
HN request time: 0.581s
|
source
Show context
throwaway889900
◴[
17 Oct 24 23:18 UTC
]
No.
41874794
[source]
▶
>>41874394 (OP)
#
But how many bytes are there in a word?
replies(4):
>>41874796
#
>>41874838
#
>>41875260
#
>>41875413
#
wvenable
◴[
17 Oct 24 23:27 UTC
]
No.
41874838
[source]
▶
>>41874794
#
"Word" is an outdated concept we should try to get rid of.
replies(4):
>>41874888
#
>>41874892
#
>>41874933
#
>>41875850
#
anigbrowl
◴[
17 Oct 24 23:33 UTC
]
No.
41874892
[source]
▶
>>41874838
#
You're right. To be consistent with bytes we should call it a
snack
.
replies(1):
>>41874949
#
SCUSKU
◴[
17 Oct 24 23:42 UTC
]
No.
41874949
[source]
▶
>>41874892
#
Henceforth, it follows that a doublesnack is called a lunch. And a quadruplesnack a fourthmeal.
replies(2):
>>41874984
#
>>41875163
#
tetron
◴[
18 Oct 24 00:18 UTC
]
No.
41875163
[source]
▶
>>41874949
#
There's only one right answer:
Nybble - 4 bits
Byte - 8 bits
Snyack - 16 bits
Lyunch - 32 bits
Dynner - 64 bits
replies(2):
>>41875680
#
>>41876019
#
1.
kstrauser
◴[
18 Oct 24 03:04 UTC
]
No.
41876019
[source]
▶
>>41875163
#
In the spirit of redefining the kilobyte, we should define byte as having a nice, metric 10 bits. An 8 bit thing is obviously a bibyte. Then power of 2 multiples of them can include kibibibytes, mebibibytes, gibibibytes, and so on for clarity.
replies(1):
>>41876085
#
ID:
GO
2.
jaysonvantuyl
◴[
18 Oct 24 03:20 UTC
]
No.
41876085
[source]
▶
>>41876019 (TP)
#
ಠ_ಠ
↑