News for hackers. Stuff that matters.
Re:Summary of C/C++ integer rules by UncleMeat on Friday April 02, 2021 @12:27PM (#26672911)
If negative doesn't make sense then you are saving one bit using this method, but introducing a ton of fun footguns involving things like conversions. Further, the compiler cannot assume no overflowing and must now do extra work to handle those cases in conforming fashion, even if your value width doesn't match the CPU width. This can make your code slower!

There are no comments on this comment yet.