consider switching to byte(s) notation for primitive types, instead of bits #3602
Replies: 1 comment 2 replies
-
The specific There's also a question of what it means for transitioning developers. In a byte-based syntax, Elsewhere within the syntax, bit shift operators will also remain prevalent. Leaning into common precedent takes advantage of existing expectations in order to create an easier learning curve. Both bit and byte syntax are common in computing, but there's a lot of value in being able to say: on a 64-bit CPU with a 64-bit OS, where someone might use |
Beta Was this translation helpful? Give feedback.
-
example :
u8
(unsigned integer ,8 bytes) vs.u64
(unsigned integer ,64 bits) ,u1
vs.u8
Because bits(un-aligned to a byte ,or power of 2) are highly unlikely to come back.
and the bits usage is merely historical
Beta Was this translation helpful? Give feedback.
All reactions