2 ms·
Using the last bit isn't business logic task and we know it from history. We used 32-bit integers to represent file size, did it matter if it was signed or unsi
by GoblinSlayer 5y ago
Using the last bit isn't business logic task and we know it from history. We used 32-bit integers to represent file size, did it matter if it was signed or unsigned? No, file sizes outgrew both ranges at the same time. Can we fix the year 2038 problem by using unsigned 32-bit time_t? No, we use 64-bit type. Databases normally don't support unsigned types, but it might feel like if signed 32-bit range is not enough identifiers, unsigned might be? No, we use 64-bit integers. Blueborne used 16-bit unsigned integer, which should be enough for anyone, but a forged packet overflowed it.
>"showing intent"
I think intent of a signed integer is "it's a number, don't think weird things here".