top of page
The Big C++ Blog



C++26 #embed and Reflection: When the Compiler Starts Doing More Work for You
Hi C++ friends 👋 Today we are going to explore another feature from the future of C++. Or maybe not exactly the future anymore. C++26 is getting closer, compilers are slowly catching up, and some of the things we used to describe as “maybe one day” are starting to become real tools we can experiment with today. One of those tools is #embed. And when we combine it with C++ reflection, things become very interesting. Not “interesting” like undefined behavior interesting. Hopef


A Tiny Coroutine, a Big Crashđź’Ą
How One Line of C++ Caused a Segmentation Fault Coroutines are one of the most exciting additions to modern C++. They promise cleaner async code, better readability, and fewer callback pyramids. But they also come with something very C++-like: 👉 lifetime rules you must understand In this post, we’ll look at a tiny coroutine that looks perfectly safe and still crashes with a segmentation fault. The Innocent Code Let’s start with a minimal example: #include <coroutine> #incl


Exploring enable_shared_from_this
Welcome back, C++ enthusiasts! After a long break, I’m excited to share the latest installment in my C++Next series. In this post,...
bottom of page