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 · #22892

M

Mike Belousov

Personal blog · mikemikeb.com/blog · on HN as atmikemikebprogrammingsystems

Mike Belousov's personal blog at mikemikeb.com covers programming and systems. Since 2024, 3 different Hacker News readers have linked it 4 times, most often “How I learned to love Zig's diagnostic pattern (2024)”. It is still writing: the last post was on 2025-07-03, and you can follow it by feed.

Visit the blog
4mentions?
3HN people?
2024–2026first – last linked?
Links on Hacker News per year · peak 2 in 2025

Too few sampled comments (1) to say how often HN recommends it.?

Why HN links it

Linked in a thread on Go's error handling. The one comment discusses Zig's diagnostics-object pattern for adding context to errors and suggests comparing Go errors with Rust's instead.

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.

Mike Belousov's Website

The author on HN?

atmikemikeb · 9 karma · member since 2024

https://mikemikeb.com

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

Most-linked posts?

  1. How I learned to love Zig's diagnostic pattern (2024)
    3 people · 3 mentions · first linked 2024-08-03

What Hacker News says?

  1. In Zig you need an allocator to allocate anything, so whenever you need to add some extra information to an error, you pass a diagnostics object as an output argument to a potentially failing function. In this case it becomes a bit harder to compare it to Go's errors, each with pros and cons. I think comparing Go errors to Rust errors would be more fair. There are some articles about the diagnostic pattern in Zig, e…

    Comment linking /blog/zig_error_payloads/

    on “Why Go Can't Try”
  2. Submitted Super Thin RAII Wrappers for C Types as a story · 6 points

    HN discussion
  3. Submitted How I learned to love Zig's diagnostic pattern (2024) as a story · 3 points

    HN discussion
  4. Submitted How I learned to love Zig's diagnostic pattern as a story · 2 points

    HN discussion

Search all of HN for mikemikeb.com