Post 2747184 by Normandy@niu.moe
(DIR) More posts by Normandy@niu.moe
(DIR) Post #2746014 by prydt@niu.moe
2019-01-07T20:23:02Z
0 likes, 0 repeats
is there any reason to use c11 instead of c99?
(DIR) Post #2746088 by wowaname@anime.website
2019-01-07T20:24:46.687809Z
0 likes, 0 repeats
@prydt not that i can tell
(DIR) Post #2746351 by Bonfam@niu.moe
2019-01-07T20:34:00Z
0 likes, 0 repeats
@prydt I don't know any differences between c11 and c99. I just use c99 cause most systems will support that (and it's also how typically use for loops).
(DIR) Post #2746839 by dax@niu.moe
2019-01-07T20:50:03Z
0 likes, 0 repeats
@prydt better compiler support. any C compiler worth its salt will compile c99.
(DIR) Post #2747184 by Normandy@niu.moe
2019-01-07T21:03:05Z
0 likes, 0 repeats
@prydt c11 has some conveniences like static_assert, char16/32_t (instead of the ambiguous wchar_t).There's a list of things that changed in C11: https://en.wikipedia.org/wiki/C11_(C_standard_revision)Note that some of the things there are optional (glibc notably doesn't have <threads.h> nor bounds checking)
(DIR) Post #2747436 by prydt@niu.moe
2019-01-07T21:10:58Z
0 likes, 0 repeats
@Normandy hmm, I'll probably just use c99 because I don't need any of the stuff c11 has added
(DIR) Post #2747463 by Normandy@niu.moe
2019-01-07T21:11:59Z
0 likes, 0 repeats
@prydt yeah, most of the stuff in c11 is kinda already covered by POSIX anyways (like pthreads)