HackerTube.live
Books / Programming

THE READING ROOM / BOOK GUIDE

Modern C

Jens Gustedt

Jens Gustedt's guide to C as it is standardized today, for programmers who want the language's rules explained rather than memorized.

About the book

Modern C is a programming book by Jens Gustedt about the C language as defined by recent ISO standards. It treats C as a living specification with versioned rules, not as folklore passed between programmers. The subject is the language itself: its types, its memory model, its library interfaces and the constraints the standard places on code.

Gustedt writes from inside the standards process, and the book reflects that vantage. Expect attention to what a conforming implementation must do, where behavior is unspecified or undefined, and why those distinctions matter when code moves between compilers and platforms. The emphasis falls on writing C that is portable and defensible rather than merely code that happens to compile on one machine.

The book addresses working programmers rather than complete beginners. It assumes some familiarity with programming concepts and builds toward a rigorous understanding of how C programs are structured and executed.

How to read it

Approach the book as a reference with an argument, not a tutorial to be read straight through. The material on types, declarations and the memory model rewards slow reading, because small wording changes carry large consequences. Keep a compiler and the standard text nearby and test the claims as you meet them.

The prose is precise and sometimes dense, which suits the subject. Where the book distinguishes between what is guaranteed and what is merely common practice, slow down; those passages carry the most practical weight. Readers who skim for recipes will miss the point, while those willing to follow the reasoning will find the rules easier to retain.

Who it suits

Programmers with some C experience who want to understand why the language behaves as it does will get the most from this book. It suits people maintaining code across compilers, teachers who need accurate explanations of undefined and unspecified behavior, and developers moving from another language who want the standard's vocabulary rather than shortcuts. Readers seeking a quick project-based introduction should look elsewhere.

Reading considerations

The book tracks a moving standard, so check which revision an edition covers before relying on it for current compiler behavior. Its rigor can make it slow going for newcomers, and it favors specification over worked application, so pair it with practical code when learning.

Follow the HN conversation

37 different recommenders are recorded in the upstream dataset. These are AI-classified source counts, not an independent rating.

Search HN comments about this book ↗

Explore videos on the same subject ↗

Book notes prepared with DeepSeek, using catalogue records and Open Library subject information. They are reading guidance, not a personal review or a verified chapter-by-chapter account. Book details can vary by edition. HN data methodology · Book metadata and covers.