News for hackers. Stuff that matters.
Re:A Special Kind of Hell: intmax_t in C and C++ by loeg on Saturday December 05, 2020 @04:35PM (#25318624)
> Interesting read but IMHO fairly irrelevant for language users. I've been coding in C and C++ for more than 25 years and never encountered intmax_t or any problems related to it.

15 years and ditto. I've only used it and seen it used for printf with %j, because that sucks less than the C99 PRIxBLAH conversions.

> It's better to accept that C (and C++) are only portable in theory,

I don't agree with that at all, though.

Re:A Special Kind of Hell: intmax_t in C and C++ by pjmlp on Sunday December 06, 2020 @02:04AM (#25321732)
Having maintained a "portable" C code based across HP-UX, Aix, DG/UX, Solaris, Linux, BSD and Windows NT/2000, yes it is portable in theory, with plenty of workarounds in practice.