News for hackers. Stuff that matters.
Re:C++ proposal: There are 8 bits in a byte by wvenable on Thursday October 17, 2024 @07:39PM (#41874937)
As an abstraction on the size of a CPU register, it really turned out to be more confusing than useful.
Re:C++ proposal: There are 8 bits in a byte by pclmulqdq on Thursday October 17, 2024 @08:02PM (#41875078)
On RISC machines, it can be very useful to have the concept of "words," because that indicates things about how the computer loads and stores data, as well as the native instruction size. In DSPs and custom hardware, it can indicate the only available datatype.

The land of x86 goes to great pains to eliminate the concept of a word at a silicon cost.

Re:C++ proposal: There are 8 bits in a byte by o11c on Thursday October 17, 2024 @07:51PM (#41875003)
Fortunately we have `register_t` these days.
Re:C++ proposal: There are 8 bits in a byte by bobmcnamara on Thursday October 17, 2024 @07:49PM (#41874993)
Is it 32 or 64 bits on ARM64? Why not both?
Re:C++ proposal: There are 8 bits in a byte by billti on Friday October 18, 2024 @01:42AM (#41876643)
ARM64 has a 32-bit word, even though the native pointer size and general register size is 64 bits. To access just the lower 32 bits of a register Xn you refer to it as Wn.