Reintroduction to C
summary
C is framed as the right tool for embedded firmware, OS and language runtimes, with concrete rules and gotchas: C99 guarantees implicit return from main, puts/printf return semantics and futile deep error checks, integer promotions (everything converts to int), pointer decays to address of first element and one‑past pointer arithmetic, designated initializers and compound literals, size_t for indexing, malloc/free with null checks and goto cleanup idiom (used in Linux kernel), static vs automatic storage, struct alignment padding (example size 24), and UB from unspecified evaluation order producing different outputs across compilers.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 5:23Hello
- 7:23Int
- 11:55Array
- 16:58SizeT
- 18:33GoTo
- 28:11Clean up
- 29:21Cooking
- 34:08Compounds
- 42:18Storage duration memory
- 45:45Static
- 51:02Memory
related talks
01h 28mProgramming in Modern C with a Sneak Peek into C23
01h 00m"New" Features in C
01h 06mModern C and What We Can Learn From It
14mEmbedded C and C++: A Security Perspective
01h 11mC++ in the World of Embedded Systems
56mAsk Me Anything with Bjarne Stroustrup
58m42 Silly Ways to say Hello in C
01h 01mSome Programming Myths Revisited
