Top all-time · #16592
David Priver
Personal blog · davidpriver.com · on HN as david2ndaccountprogrammingsystems
David Priver writes DavidsBlog, a personal blog at davidpriver.com about programming and systems. Since 2022, 4 different Hacker News readers have linked it 14 times, most often “Adding Reflection to C”. It is still writing: the last post was on 2026-10-25, and you can follow it by feed.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
HN readers link David Priver's posts on C programming techniques: generic data structures and templates in C, adding reflection, and _Generic type reification. One commenter also points to his C interpreter/REPL.
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.
Most-linked posts?
- Adding Reflection to C2 people · 2 mentions · first linked 2026-05-28
What Hacker News says?
I wrote a blogpost showing how you could do a similar thing in D with ImportC. https://www.davidpriver.com/C-macro-reflection-in-D.html
Comment linking /C-macro-reflection-in-D.html
on “C Macro Reflection in Zig”Submitted Iterating Backwards in C as a story · 107 points
HN discussionIf you’re interested in this, I wrote a blogpost on a simple c hash table without deletion. https://www.davidpriver.com/c-hash-table.html
Comment linking /c-hash-table.html
on “Show HN: A portable hash map in C”Submitted Fun Extending the C Preprocessor as a story · 55 points
HN discussionAlso see Templates in C by David Priver - https://www.davidpriver.com/ctemplates.html He also has other interesting C techniques, namely; Adding reflection to C - https://news.ycombinator.com/item?id=49964525 _Generic for Type Reification in C - https://www.davidpriver.com/creification.html See also his C2y interpreter with REPL named "DrC" for the upcoming C29 standard ( https://en.wikipedia.org/wiki/C29_(C_standar…
Comment linking /creification.html
on “Type Safe Generic Data Structures in C (2025)”Submitted Adding Reflection to C as a story · 4 points
HN discussionI wrote a blogpost describing this technique. https://www.davidpriver.com/ctemplates.html
Comment linking /ctemplates.html
on “Type-erased generic functions for C: A modest non-proposal”Submitted Templates in C as a story · 3 points
HN discussionI wrote a similar article in the past: https://www.davidpriver.com/ctemplates.html I use this technique in my hobby projects as it has worked out the best for me of the options I’ve explored.
Comment linking /ctemplates.html
on “How to write generics in C”Submitted More Fun Extending the C Preprocessor: Mutable State as a story · 2 points
HN discussionNot a lot of content, but https://www.davidpriver.com
Comment linking /
on “Ask HN: Could you share your personal blog here?”Submitted Adding Reflection to C as a story · 1 points
HN discussionSubmitted C in WASM as a story · 1 points
HN discussion