Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: