HN Hall of Fame Weekly email

Secure Rust Guidelines

anssi-fr.github.io Reference Policies & guidelines Security & privacy Candidate
Screenshot of anssi-fr.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–2022
peak thread · 58 comments
171 pts
latest 20+ return · 2022-05-17
104 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

I personally strongly disagree with: Functions or instructions that can cause the code to panic at runtime must not be used. First of all, they kind of dodge this later by saying "Array indexing must be properly tested" (else it can panic) -- everyone thinks they write code which is "properly tested". Personally, I often write panicing code -- if the code gets in a state where I have no idea how to fix it, I panic. For some code…

Took me a while to realise this is a project by the French National Cybersecurity Agency (ANSSI), not just some random github repos from someone with Important Opinions on how to use a programming language. All of this advice makes a lot of sense but a lot of recommendations cannot easily be checked for or enforced. It would be nice to be able to quickly put Clippy into "ANSSI mode" to check and enforce all of these requirements.

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
277

reference only — not used in Hall rules or ranking

Total comments
86

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2019-07-29Recommendations for secure applications development with RustMrXOR20
2020-03-20Secure Rust GuidelinesFirst breakout · Best threadxmmrm17158
2022-05-17Secure Rust GuidelinesLatest 20+ point returnpabs310428