Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #16592

D

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.

Visit the blog
14mentions?
4HN people?
2022–2026first – last linked?
Links on Hacker News per year · peak 6 in 2026

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.

The author on HN?

david2ndaccount · 1,189 karma · member since 2020

blog: https://www.davidpriver.com

From their public HN profile, which links to this site.

Most-linked posts?

  1. Adding Reflection to C
    2 people · 2 mentions · first linked 2026-05-28

What Hacker News says?

  1. 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”
  2. Submitted Iterating Backwards in C as a story · 107 points

    HN discussion
  3. If 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”
  4. Submitted Fun Extending the C Preprocessor as a story · 55 points

    HN discussion
  5. rramadass · 2026-10-05Recommends
    Also 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)”
  6. Submitted Adding Reflection to C as a story · 4 points

    HN discussion
  7. I 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”
  8. Submitted Templates in C as a story · 3 points

    HN discussion
  9. I 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”
  10. Submitted More Fun Extending the C Preprocessor: Mutable State as a story · 2 points

    HN discussion
  11. Not a lot of content, but https://www.davidpriver.com

    Comment linking /

    on “Ask HN: Could you share your personal blog here?”
  12. Submitted Adding Reflection to C as a story · 1 points

    HN discussion
  13. Submitted C in WASM as a story · 1 points

    HN discussion

Search all of HN for davidpriver.com