Hacker News new | ask | show | jobs
by G4E 973 days ago
stdint.h defining the fixed width integer is part of C99. I wouldn't call that recent !

https://pubs.opengroup.org/onlinepubs/009695399/basedefs/std...

1 comments

You need to understand the timescales of C.

C89 (aka ANSI C) was "standard" C for years. C99 was released, and largely ignored until the mid-2000's, and then gradually began to grow. As of about 2015, C99 was probably the "standard" C dialect, but there is still a lot of C89 out there, especially where you have niche toolchains.

I wouldn't seriously consider C11 unless you're certain that the toolchain supports it, and there's some feature that you really need. And that's pretty unlikely.