Top all-time · #2300
Sandor Dargo
Personal blog · sandordargo.com/blogprogrammingwriting
Sandor Dargo's personal blog at sandordargo.com covers programming and writing. Since 2019, 32 different Hacker News readers have linked it 192 times, most often “C++26: Standard Library Hardening”. It is still writing: the last post was on 2026-10-27, and you can follow it by feed.
Too few sampled comments (4) to say how often HN recommends it.?
Why HN links it
HN readers link Sandor Dargo's posts on C++ language features and standards, such as concepts, C++23 stacktrace and C++26 changes. Commenters mostly point out their gaps or inaccuracies.
Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Sandor Dargo writes about about C++, software development, books and stoic philosophy applied to software craftsmanship
Most-linked posts?
- C++26: Standard Library Hardening4 people · 4 mentions · first linked 2026-05-13
- C++26: Trivial infinite loops are no longer undefined behaviour3 people · 4 mentions · first linked 2026-09-16
- C++26: Std:Optional3 people · 3 mentions · first linked 2025-10-01
- C++26 Std:Format Improvement3 people · 3 mentions · first linked 2025-07-09
- C++26: String and String_view Improvements3 people · 3 mentions · first linked 2026-04-29
- C++26: Embed3 people · 3 mentions · first linked 2026-08-05
- What happens when a destructor throws2 people · 2 mentions · first linked 2026-04-02
- Use std:span instead of C-style arrays2 people · 2 mentions · first linked 2024-11-06
- How to compare signed and unsigned integers in C++20?2 people · 2 mentions · first linked 2023-10-12
- C++26: range support for std:optional2 people · 2 mentions · first linked 2025-10-08
What Hacker News says?
To be fair I've mostly used concepts in Nim, not C++ x0 concepts. However, your comparisons of C++ concepts to Rust traits seems to be lacking a lot of details or is plain inaccurate. It also misses the flexibility of C++ concepts. > C++ 0x Concepts was similar to Rust's Trait system in many ways. Particularly notable features of C++ 0x Concepts you might recognise in Rust's traits: Perhaps at the loosest level of c…
Comment linking /blog/2021/03/10/write-your-own-cpp-concepts-part-i
on “The type system is a programmer's best friend”Submitted C++26: Trivial infinite loops are no longer undefined behaviour as a story · 173 points
HN discussionThe article mentions it's a halt-on-error pattern: https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-in... Edit: sorry, missed the UB bit.
Comment linking /blog/2026/09/16/cpp26-trivial-infinite-loops
on “C++26: Trivial infinite loops are no longer undefined behaviour”Submitted C++26: The New Debugging Header as a story · 114 points
HN discussion> they should simply use c++, like k&r did to compile their example code in their 2nd ed - see preface to book if you don't believe. So what? And GCC allegedly has been C++ for many years. Please take a look at the repo and tell me why anyone cares about that. My personal experience with C++ is that I seem to always end up peeling off my nice abstractions again later. Most of what it offers hasn't stuck for me, at l…
Comment linking /blog/2022/02/16/deducing-this-cpp23
on ““C is quirky, flawed, and an enormous success” – Dennis Ritchie”Submitted C++26: more constexpr in the core language as a story · 96 points
HN discussionLooks like <stacktrace> is already part of C++23 [0]. But if you must use an older C++, why link the entire Swift runtime rather than something GCC's builtin backtraces [1] or libbacktrace [2]? [0] https://www.sandordargo.com/blog/2022/09/21/cpp23-stacktrace... [1] https://www.gnu.org/software/libc/manual/html_node/Backtrace... [2] https://github.com/ianlancetaylor/libbacktrace
Comment linking /blog/2022/09/21/cpp23-stacktrace-library
on “a thread”Submitted C++26: A Placeholder with No Name as a story · 96 points
HN discussionSubmitted C++26: more constexpr in the standard library as a story · 86 points
HN discussionSubmitted C++26: range support for std:optional as a story · 77 points
HN discussionSubmitted C++26: Pack Indexing as a story · 60 points
HN discussionSubmitted C++23: Removing garbage collection support as a story · 58 points
HN discussionSubmitted What to do if you don't want a default constructor? as a story · 57 points
HN discussionSubmitted C++26: Erroneous behaviour as a story · 52 points
HN discussionSubmitted C++26: Deprecating or removing library features as a story · 46 points
HN discussionSubmitted The copy and swap idiom in C++ as a story · 45 points
HN discussionSubmitted Replace std:find_if in 80% of the cases as a story · 34 points
HN discussionSubmitted Raw Loops for Performance? as a story · 26 points
HN discussionSubmitted How to write unit tests in C++ relying on non-code files? as a story · 25 points
HN discussionSubmitted C++26: Std:Optional as a story · 22 points
HN discussionSubmitted Once more about the rule of 5 as a story · 15 points
HN discussionSubmitted C++26: `Std:Optional<T&>` as a story · 14 points
HN discussionSubmitted Time in C++: Understanding <chrono> and the Concept of Clocks as a story · 10 points
HN discussionSubmitted My first work experience with C++20 as a story · 8 points
HN discussionSubmitted C++26: Constexpr Exceptions as a story · 7 points
HN discussionSubmitted Use std:span instead of C-style arrays as a story · 7 points
HN discussionSubmitted C++26: Std:Inplace_vector as a story · 6 points
HN discussionSubmitted Time in C++: Understanding std:chrono:steady_clock as a story · 5 points
HN discussionSubmitted C++26: no more undefined behaviour in lexing as a story · 5 points
HN discussionSubmitted Do You Use a Debugger? as a story · 5 points
HN discussion