I didnt think about it, but byte and short and the only names that kinda kept their definition of the number of bits.
Byte is 8, short is 16.
And then there is int…
Its 16 on 16 bit systems and 32 on 32 and 64bit systems
Long is silly too, it can be 32 or 64, and then there is long long which wth is that even suppose to be.
Thats why c/c++ systems often ditch ‘int’ or ‘long’ and rather use things like ‘int8_t’, ‘int32_t’ or ‘int64_t’ to explicitly specify the amount of bits
I didnt think about it, but byte and short and the only names that kinda kept their definition of the number of bits.
Byte is 8, short is 16.
And then there is int…
Its 16 on 16 bit systems and 32 on 32 and 64bit systems
Long is silly too, it can be 32 or 64, and then there is long long which wth is that even suppose to be.
Thats why c/c++ systems often ditch ‘int’ or ‘long’ and rather use things like ‘int8_t’, ‘int32_t’ or ‘int64_t’ to explicitly specify the amount of bits