Top all-time · #12737
Hardmo.de
Personal blog · hardmo.de/articleprogrammingsystems
Hardmo.de is a personal blog at hardmo.de about programming and systems. Since 2019, 6 different Hacker News readers have linked it 6 times, most often “The magical applications of zero-sized types in Rust”. The last post was in 2024, but the archive is still widely read.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
HN readers link this post on whether Node.js packages deserve trust, and on enforcing package permissions through capabilities. The one comment quotes the post and builds on its compile-time capability idea.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
The Hardmo.de frontpage, overview and navigation
Most-linked posts?
- The magical applications of zero-sized types in Rust4 people · 4 mentions · first linked 2021-03-22
- And why Rust's await should be a method after all2 people · 2 mentions · first linked 2019-05-09
What Hacker News says?
> There might also be a way to enforce those permissions at compile time instead of at runtime. AIUI, a compile time capability is just a custom unit type, perhaps using PhantomData to depend at compile time on some generic type or consteval parameter. Then ordinary type checking is enough to ensure that this gets "threaded" correctly throughout the code, as required. 'Narrowing' a capability is just a one-way type…
Comment linking /article/2021-03-14-zst-proof-types.md
on “Node.js packages don't deserve trust”Submitted The magical applications of zero-sized types in Rust as a story · 17 points
HN discussionSubmitted The Magical Applications of Zero-Sized Types in Rust as a story · 2 points
HN discussionSubmitted The Magical Applications of Zero-Sized Types in Rust as a story · 2 points
HN discussionSubmitted And why Rust's await should be a method after all as a story · 2 points
HN discussionSubmitted How and why "await" should be a method afterall (in Rust) as a story · 1 points
HN discussion