HN Hall of Fame Weekly email

Modern C for C++ Peeps

floooh.github.io Essays & writing Essays & articles Software engineering Candidate
Screenshot of floooh.github.io captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
3
submitters
3
observed span
2019–2023
peak thread · 248 comments
229 pts
latest 20+ return · 2023-01-07
229 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

> Enable all warnings! The trouble I've run into with that is different compilers have different warnings, sometimes they are mutually contradictory, so it is not possible to have portable code that doesn't trigger warnings in one compiler or another. I.e. the general problem with warnings is the language gets balkanized into multiple competing and incompatible dialects. What should happen is to carefully examine the warnings, and adopt the best into the language Standard as errors. For example: if (a…

I tend to disagree that RAII is used only used for memory. We've RAII wrappers for locks, file handles etc. all the time in our code base. Also it's impractical to only have POD structs i.e. structs with no pointer pointing to the free store. Good otherwise. Nice colours and theming though :)

> Wrap your structs in a typedef I tend to disagree. Unless you are providing an API for third-party use and want to make your data types opaque to callers, do not ever use typedef with structs and pointers. A declaration like "struct foo *f" tells you two things - f itself is a pointer, and the pointed-to value is not a scalar (i.e. has named members). The "_t" suffix idiom is predominantly used by the standard library for integral…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
425

reference only — not used in Hall rules or ranking

Total comments
285

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2019-09-27Modern C for C++ PeepsFirst breakoutjahaja10216
2021-05-26Modern C for C++ Peeps (2019)signa119421
2023-01-07Modern C for C++ PeepsBest thread · Latest 20+ point returnAlexeyBrin229248