News for hackers. Stuff that matters.
Re:Type-Safe Printf for C by arka2147483647 on Tuesday December 14, 2021 @05:57PM (#29559293)
I would argue that most code nowdays iplicitly assumes that int is 32bit’s long, and wont work correctly in a 8bit platform anyways. If ’platform size conforming’ ints are used, they probably should be opt-in, instead of opt-out.
Re:Type-Safe Printf for C by kevin_thibedeau on Tuesday December 14, 2021 @07:53PM (#29560507)
That's great for people weaned on Java's false promise of a uniform type system. Then you find out you want the behavior of unsigned integer overflow and have to jump through contortions to get it. You can't set a single standard for the default that works universally.