Hacker ApprovedDepartments

C Interfaces and Implementations

C Interfaces and Implementations by David Hanson

by David Hanson

Shares rank 100 of 115 programming books by recommenders

People recommend it for showing how to write C that avoids use-after-free bugs, and for its worked examples of reusable interfaces and implementations.

People recommend it for showing how to write C that avoids use-after-free bugs, and for its worked examples of reusable interfaces and implementations.

2 people gave an opinion

recommend it
2
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 4 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 2 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 4 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Shows how to avoid use-after-free

    “demonstrated how to code in C in a way that avoids use after free”

    Comment from 10 Nov 2025 in “XSLT RIP”
  • Real examples of literate programming

    “To study actual examples of LP see the book”

    Comment from 23 Feb 2026 in “The Tears of Donald Knuth”

Other programming books people recommend

The four most recommended other programming books, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

C Interfaces and Implementations by David Hanson compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Crafting Interpretersby Robert Nystrom60494%10—Approved
Clean Codeby Robert C. Martin318726%9——
The Pragmatic Programmerby Hunt and Thomas28197%7—Approved
How to Design Programsby Felleisen, Findler, Flatt and Krishnamurthi18290%7—Approved
C Interfaces and Implementationsby David HansonThis page20100%4——
See all 115 programming books, ranked

What people said

All 4 comments that mention it, newest first. Each links to the original comment.

“See Sections 5+6 in https://drh.github.io/cii/toc.html”

RecommendsComment from 14 Oct 2026 in “Arena Allocators in C”

“To study actual examples of LP see the book”

RecommendsComment from 23 Feb 2026 in “The Tears of Donald Knuth”

“Two excellent examples which come to mind are”

RecommendsComment from 30 Jan 2026 in “Why I Always End Up Going Back to C”

“demonstrated how to code in C in a way that avoids use after free”

MixedComment from 10 Nov 2025 in “XSLT RIP”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.