Skip to content
0:00 / 0:00

#c99#c11#c18

"New" Features in C - Dan Saks

NDC Conferences

230K subscribers • 107 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by Dan Saks

Intermediate. Assumes working knowledge.

131K views7 years ago2 recommendations

Programming languagesCLanguage design and type systems

Dan Saks explains modern C features introduced in C99, C11, and C18 that many programmers still overlook.

The first international standard for the C programming language was C90. Since then, three newer standards have been published: C99, C11, and C18. C99 introduced a significant number of new features. C11 introduced a few more, many of which have been available in compilers for some time. C18 fixed bugs in C11 but introduced no new features. Curiously, many of these added features don’t seem to have caught on. Too many C programmers still program in C90 with a sprinkling of C99. This session explains many of these "new" C features, including inline functions, complex arithmetic, extended integer types, variable-length arrays, flexible array members, compound literals, designated initializers, restricted pointers, type-qualified array parameters, anonymous structures and unions, alignment support, non-returning functions, and static assertions. Save the date for NDC TechTown 2020 (31st of August - 3rd of September) Check out more of our talks at: ndctechtown.com/ ndcconferences.com/

Why it's here

2 people recommend this

What people say. Recommended as a great overview of modern C features beyond C90.

Moments people linked to

u/mttdin r/C_Programming • Recommends

"New" Features in C - Dan Saks (NDC TechTown 2019)

julienxxon Lobsters • Recommends

"New" Features in C

u/Doroc0in r/C_Programming • Mentions

On “Ressources to learn how to write C the right way ?”

First this, is very useful: https://devtut.github.io/c/ I would recomend the book Head First C. And this presentation for advanced features: [video

u/hix3rin r/C_Programming • Mentions

On “Was there ever a push to make the C standard open?”

I think one factor that this is never really considered an issue is that the C standard itself is rarely that useful from a practical standpoint unfortunately. Compiler behavior for better or worse became an integral part of C development and some compilers have flat out just stopped aiming for strict C standard compliance long ago. There is a lot of implementation defined behavior floating around and the standard itself leaves parts of it optional like having `int8_t` or `intptr_t` when you include `stdint.h` target platform dependent and not guaranteed. It makes sense to me why developers then concentrated more on the compilers and the targeted platforms instead of the standard. As an…
1View on Reddit