Top all-time · #2114
Rainer Grimm
Personal blog · modernescpp.comprogramming
Rainer Grimm writes MC++ BLOG, a personal blog at modernescpp.com about programming. Since 2016, 35 different Hacker News readers have linked it 133 times, most often “Reflection in C++26”. It is still writing: the last post was on 2026-11-01, and you can follow it by feed.
Too few sampled comments (14) to say how often HN recommends it.?
Why HN links it
HN readers link this blog for explanations of modern C++ features, such as concepts, coroutines, ranges and consteval, and overviews of what each new C++ version adds.
- Recommended for · 2 comments
- Called a good source of information on what is new in C++ versions; one commenter says the ranges post might interest readers.
Summarised by Claude from a sample of 14 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Reflection in C++263 people · 3 mentions · first linked 2024-09-23
- C++20: Concepts, ranges, coroutines, modules2 people · 2 mentions · first linked 2019-11-05
- Cooperative Interruption of a Thread in C++20: Callbacks2 people · 2 mentions · first linked 2024-07-15
- My Serious Progressive Nerve Condition2 people · 2 mentions · first linked 2023-10-30
- C++ Core Guidelines: More Rules to Concurrency and Parallelism2 people · 2 mentions · first linked 2018-05-02
- The Problem with C++ Safety: Why "It Works" Isn't Good Enough2 people · 2 mentions · first linked 2026-10-18
- C++ 20: The Core Language2 people · 2 mentions · first linked 2019-11-04
- A Brief Overview of the PVS-Studio Static Code Analyzer2 people · 2 mentions · first linked 2019-12-06
What Hacker News says?
> Note that C++ offers async as a library and not as a programming language feature which Bjarne Stroustrup is strongly against. https://www.modernescpp.com/index.php/c-20-coroutines-the-fi...
Comment linking /index.php/c-20-coroutines-the-first-overview
on “Why asynchronous Rust doesn't work”Submitted C++ 20: The Core Language as a story · 282 points
HN discussionMany. I like bashing C++ as much as the next dev, but modern C++ has nice type checks, interesting types/wrappers which help with common patterns (shared, unique ptrs, etc), and the compilers learned some great tricks which allow you to run memory safety checks yourself. (Asan and others) Also multithreading gets some improvements which will take more of the manual sync details away from the business logic. ( http:/…
Comment linking /index.php/multithreading-in-c-17-and-c-20
on “Gokrazy: A pure-Go userland for Raspberry Pi 3 appliances”Submitted Multithreading in modern C++ as a story · 115 points
HN discussionThis might interest you then http://www.modernescpp.com/index.php/the-new-ranges-library
Comment linking /index.php/the-new-ranges-library
on “In Defense of C++”Submitted Latches in C++20 as a story · 106 points
HN discussionHaving started using the Internet in the 90's, and thus still remembering Geocities-era websites, I loved that they did this as a webring ( https://en.wikipedia.org/wiki/Webring ): each blog post has a link to the next one, making a singly-linked circular list. Starting with this one, we have: - http://www.bfilipek.com/2018/04/deprecating-pointers.html - http://www.modernescpp.com/index.php/no-new-new - https://www.…
Comment linking /index.php/no-new-new
on “Deprecating Raw Pointers in C++20”Submitted The C++ programmer and educator Rainer Grimm has passed away as a story · 104 points
HN discussionA good source of information for what is new in C++ versions: https://www.modernescpp.com/index.php/thebigfour That article covers the big four new features: - concepts - modules - coroutines - ranges library
Comment linking /index.php/thebigfour
on “C++ the Good Parts (2014)”Submitted An Improved Thread with C++20 as a story · 68 points
HN discussion> That's just a C# idiom Not just C#, Python and JS also have it already. And async-await is the first time ever where I've thought that yes, this is a good way to do single-threaded async (event-queue-ish) or even multi-threaded things. > Check POCO. Thanks for the hint, I will check it out. > but somehow you're complaining that C++'s interfaces require programmers to specify where the collections should start and…
Comment linking /index.php/higher-order-functions
on “C++ Core Coroutines Proposal [pdf]”Submitted Bit Manipulation with C++20 as a story · 13 points
HN discussionThat's intentional as it is a translation of a German blog: > Because the roots of my blogs are in German, I will continue to call him Modernes C++. That is not by mistake. http://www.modernescpp.com/index.php/warum-einen-blog-zu-mod... Not saying it's a good decision...
Comment linking /index.php/warum-einen-blog-zu-modernem-c
on “Multithreading in modern C++”Submitted Hazard Pointers in C++26 as a story · 12 points
HN discussionApparently you can become famous by proof-reading this guy's articles: http://www.modernescpp.com/index.php/for-the-proofreaders-an... oO
Comment linking /index.php/for-the-proofreaders-and-the-curious-people
on “Multithreading in modern C++”Submitted An Overview of C++26: Concurrency as a story · 10 points
HN discussion>It seems that C++20's concepts are a viable candidate to compete with rust safety mechanism. No, that's not really something that concepts do. But there are ways of coding and tools using which you can get closer to Rust's safety features in C++. E.g. https://www.modernescpp.com/index.php/c-core-guidelines-life... or https://clang.llvm.org/docs/ThreadSafetyAnalysis.html .
Comment linking /index.php/c-core-guidelines-lifetime-safety
on “What killed Haskell, could kill Rust, too”Submitted C++20: Concepts, ranges, coroutines, modules as a story · 10 points
HN discussion> ..The node_modules package resolution algorithm is how JS does namespaces.. I wonder whether they got that right through sheer genius, or by accident. I recall hearing Ryan Dahl's regrets about design decisions in Node.js, a few of which had to do with the module/package resolution algorithm. 10 Things I Regret about Node.js - https://www.youtube.com/watch?v=M3BM9TB-8yA There are some good aspects of it though. I…
Comment linking /index.php/c-20-modules
on “A new decade, a new tool”Submitted Reflection in C++26: Metafunctions for Enums and Classes as a story · 6 points
HN discussionMeyer's implementation (with static block variable) is elegant and thread safe, and retains lazy initialization which can be important for the initialization order. https://www.modernescpp.com/index.php/thread-safe-initializa...
Comment linking /index.php/thread-safe-initialization-of-data/
on “Best Performance of a C++ Singleton”Submitted C++20: Functional Patterns with the Ranges Library as a story · 5 points
HN discussion> Are compilers required to evaluate constexpr expressions at compile time, where possible? No. But C++20 adds consteval, which does carry that requirement: https://www.modernescpp.com/index.php/c-20-consteval-and-con... Well, sort of. It has to produce a constant expression, and in practice the way to do that is to evaluate it at compile-time. But under the as-if rule, a compiler can do what it likes, up to and inc…
Comment linking /index.php/c-20-consteval-and-constinit
on “Quickly checking that a string belongs to a small set”Submitted Multithreading in Modern C++ as a story · 4 points
HN discussionThis was an April Fools joke. https://www.modernescpp.com/index.php/april-fool-s-joke-raw-...
Comment linking /index.php/april-fool-s-joke-raw-pointers-removed-from-c
on “No New New: Raw Pointers Removed from C++”Submitted C++ Feature Testing Macros as a story · 4 points
HN discussionHow do HFT developers actually achieve single-digit microsecond latency? Why would you want to bypass the kernel? Can C++ model semantic categories as elegantly as Haskell? Can you actually get a job doing this stuff? We'll cover all this stuff next Tuesday 6pm UK time - that's 1pm US East. So bring your dinner (or lunch) and come ready with questions for Antony Peacock: senior developer in low latency trading and t…
Comment linking /
on “a thread”Submitted Cooperative Interruption of a Thread in C++20 as a story · 4 points
HN discussionSubmitted Dynamic and Static Polymorphism as a story · 4 points
HN discussionSubmitted Modernes C++ as a story · 3 points
HN discussion