HN Hall of Fame Weekly email

Learn Rust by writing a small OS

os.phil-opp.com Books & learning Books & long-form works Computer science Class of 2025-07 Hall of Fame
Screenshot of os.phil-opp.com captured 2026-07-20
Page preview · captured 2026-07-20

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

submissions
9
submitters
9
observed span
2017–2025
peak thread · 80 comments
534 pts
latest 20+ return · 2025-07-30
135 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

Even if you don't want to write a small OS, or don't want to learn rust, this is still an excellent resource for people wanting to learn about low-level OS and hardware details.

Phil-opp's posts were instrumental in getting the boilerplate of my kernel up and running pretty quickly, mostly due to the unusual build config that is required. I've since grown my own sense about it but it always tickles me when I think of a better way to do X, search for X on the cargo or rust issue trackers, find a ticket also looking for that, and more often than not Phill-opp either present or the one requesting it. Hats…

junon·135-point thread·

It's the beginning of a kernel. It may expand in the future, but to me, calling it an OS is like building a door and calling it a house. It's inaccurate and it makes it sound greater than it currently is. I on the other hand do not want to make it sound less great of course, but what we call things does matter.

sebcat·86-point thread·

I think these posts will be much more enjoyable in 2020 when we hopefully have a stable compiler. Not a huge fan of switching to nightly to get certain functions. And don't get me started on the cross compile support. While Go ships a single binary that supports many targets, in rust you need to mess with rustup, compile your own libraries and even then it might not work... Can't wait for 2020 to arrive.

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
820

reference only — not used in Hall rules or ranking

Total comments
103

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2017-08-03Writing an OS in Rusthacknrk869
2018-11-06Writing an OS in Rust, Second EditionTorwald131
2019-05-19Writing an OS in Rust (Second Edition)apo403
2021-02-11Writing an OS in Rustibraheemdev20
2022-02-25Learn Rust by writing a small OSFirst breakout · Best threadelamje53480
2023-08-26Writing an OS in Rustmdwalters30
2023-09-28Writing an OS in Rustgorenb20
2024-04-12Writing an OS in RustArteiii50
2025-07-30Blog series on creating an OS in RustHall induction · Latest 20+ point returnznano13510