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

Top all-time · #2372

B

Barry’s C++ Blog

Personal blog · brevzin.github.ioprogramming

Barry’s C++ Blog is a personal blog at brevzin.github.io about programming. Since 2019, 31 different Hacker News readers have linked it 63 times, most often “Rust vs. C++ Formatting”. It is still writing: the last post was on 2026-10-14, and you can follow it by feed.

Visit the blog
63mentions?
31HN people?
2019–2026first – last linked?
Links on Hacker News per year · peak 18 in 2025

A collection of articles about a variety of C++ topics.

Most-linked posts?

  1. Rust vs. C++ Formatting
    6 people · 6 mentions · first linked 2023-01-03
  2. Implementing a Struct of Arrays
    5 people · 5 mentions · first linked 2025-05-05
  3. Reflecting JSON into C++ Objects
    4 people · 4 mentions · first linked 2025-06-26
  4. What's so hard about constexpr allocation?
    3 people · 3 mentions · first linked 2024-07-24
  5. The Ignorability of Attributes in C++
    3 people · 3 mentions · first linked 2025-03-25
  6. The constexpr array size problem
    2 people · 2 mentions · first linked 2022-11-02
  7. C++ : if constexpr isn't broken
    2 people · 2 mentions · first linked 2019-01-15
  8. Projections Are Function Adaptors
    2 people · 2 mentions · first linked 2022-02-13
  9. Code Generation in Rust vs. C++26
    2 people · 2 mentions · first linked 2024-09-30
  10. Implementing a Better views::split
    2 people · 2 mentions · first linked 2020-07-17

What Hacker News says?

  1. It seems that C++ is moving in a full speed following trail-blazed by D language than Bjarne will care to admit: https://brevzin.github.io/c++/2019/01/15/if-constexpr-isnt-b...

    Comment linking /c++/2019/01/15/if-constexpr-isnt-broken/

    on “C++20 Oxymoron: Constexpr Virtual”
  2. Submitted Comparisons in C++20 as a story · 183 points

    HN discussion
  3. For what it’s worth, a common example of the capabilities of c++26 reflection is exactly this use case. I can’t remember where I first saw it, but this article [0] showcases the technique pretty well. It’s opt-in so not the compiler optimization that you’re imagining but still neat that it’s possible [0] https://brevzin.github.io/c++/2025/05/02/soa/

    Comment linking /c++/2025/05/02/soa/

    on “Every Byte Matters”
  4. Submitted Code Generation in Rust vs. C++26 as a story · 130 points

    HN discussion
  5. Barry Revzin's comparison to what Rust chose here is interesting https://brevzin.github.io/c++/2023/01/02/rust-cpp-format/ I think Barry under-estimates how long it will be before C++ programmers actually get the equivalent of #[derive(Debug)] and as a result the impact on ergonomics. But of course I might be wrong.

    Comment linking /c++/2023/01/02/rust-cpp-format/

    on “C++23: The Next C++ Standard”
  6. Submitted Implementing a Struct of Arrays as a story · 126 points

    HN discussion
  7. Do you think so ? Maybe I've been immersed in Rust for too long but it doesn't seem difficult to read to me. Here's Barry Revzin, a C++ programmer, explaining what he wants with a Rust example https://brevzin.github.io/c++/2020/12/01/tag-invoke/#this-is... Now like I said, I'm a Rust programmer, so of course I understand PartialEq's definition there, but, is it really hard to see what's going on as a C programmer? T…

    Comment linking /c++/2020/12/01/tag-invoke/

    on “C++ Papercuts”
  8. Submitted T* makes for a poor optional<T&> as a story · 87 points

    HN discussion
  9. > What do more experienced people here think of that? "Experienced" person here. I've done a parser generator grammar or two. I've implemented several parsers. I mostly agree, but it depends on your use case. Most people writing parsers are doing so for a bespoke language, usually for config of an internal-use-only program or something like that. Such parsers won't be great, but they will work for people that: 1. Kn…

    Comment linking /c++/2023/01/02/rust-cpp-format/

    on “We Need to Know LR and Recursive Descent Parsing Techniques”
  10. Submitted What's so hard about constexpr allocation? as a story · 82 points

    HN discussion
  11. Submitted C++ : if constexpr isn't broken as a story · 74 points

    HN discussion
  12. Submitted Using Token Sequences to Iterate Ranges as a story · 29 points

    HN discussion
  13. Submitted Declaratively implementing CPOs (customization point objects) as a story · 27 points

    HN discussion
  14. Submitted Type-based vs. Value-based Reflection as a story · 23 points

    HN discussion
  15. Submitted Reflecting JSON into C++ Objects as a story · 21 points

    HN discussion
  16. Submitted Copy-on-Write with Deducing This as a story · 18 points

    HN discussion
  17. Submitted The Ignorability of Attributes in C++ as a story · 10 points

    HN discussion
  18. Submitted Implementing a Struct of Arrays as a story · 6 points

    HN discussion
  19. Submitted Code Generation in Rust vs. C++26 as a story · 4 points

    HN discussion
  20. Submitted C++: Assignment for Optional as a story · 4 points

    HN discussion
  21. Submitted Reflecting JSON into C++ Objects as a story · 3 points

    HN discussion
  22. Submitted Reflecting JSON into C++ Objects at compile time as a story · 3 points

    HN discussion
  23. Submitted Struct of Arrays with C++ Reflection as a story · 3 points

    HN discussion
  24. Submitted Implementing a Struct of Arrays Using C++26 Reflection as a story · 3 points

    HN discussion
  25. Submitted Polymorphic, Defaulted Equality as a story · 3 points

    HN discussion
  26. Submitted What's so hard about class types as non-type template parameters? as a story · 3 points

    HN discussion
  27. Submitted Generating Operator Functions as a story · 2 points

    HN discussion
  28. Submitted Reflecting JSON into C++ Objects as a story · 2 points

    HN discussion
  29. Submitted C++: Polymorphic, Defaulted Equality as a story · 2 points

    HN discussion
  30. Submitted Rust vs. C++ Formatting as a story · 2 points

    HN discussion

Search all of HN for brevzin.github.io

Linked by the same people?