The Reset trick
My last month's post, Singleton done right in C++, has triggered plenty of comments. I expected a few, but not that much. So thank you...
In my latest blog post, "The Reset trick," you'll learn why I used to make the copy- and move-operations private and default last time.
https://andreasfertig.com/blog/2026/02/the-reset-trick/
#cplusplus #cpp #cpp17
03.02.2026 10:50 โ ๐ 3 ๐ 2 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
C++ Best Practices - NDC Toronto - May 5,6 - https://ndctoronto.com/workshops/c-best-practices/fce45061e333
A cross-platform IDE for C and C++, CLion isโฆ
C++ Weekly - Ep 518 - Online C++ Tools You Must See! (2026)
Ep 518 - Online C++ Tools You Must See! (2026)
youtu.be/VAgC2bCwOQo
02.02.2026 16:30 โ ๐ 0 ๐ 1 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
C++ Best Practices - NDC Toronto - May 5,6 - https://ndctoronto.com/workshops/c-best-practices/fce45061e333
Episode details:โฆ
C++ Weekly - Ep 517 - Tool Spotlight: ClangBuildAnalyzer
Ep 517 - Tool Spotlight: ClangBuildAnalyzer
youtu.be/gEQ5_FjCihA
26.01.2026 16:30 โ ๐ 0 ๐ 1 ๐ฌ 0 ๐ 0
Efficiently passing a std::source_location object
In this episode, I'll answer a question from a viewer about how to efficiently pass a std::source_location object.
C++ Insights - Episode 70: Efficiently passing a std::source_location object
In this episode, I'll answer a question from a viewer about how to efficiently pass a std::source_location object.
The blog post I mention in the video is: andreasfertig.com/blog/2026/01...
#cppinsights #cpp #cpp20
22.01.2026 07:22 โ ๐ 1 ๐ 1 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Hudson River Trading engineers use modern C++ to build performance-critical systems for real-time trading. Learn more about open software engineering rolesโฆ
C++ Weekly - Ep 515 - Revolutionize Your Templates with static_assert of non-value-dependent Exprs
Ep 515 - Revolutionize Your Templates with static_assert of non-value-dependent Exprs
youtu.be/pwf45vaXm3Q
12.01.2026 16:31 โ ๐ 4 ๐ 1 ๐ฌ 0 ๐ 0
We cordially invite all members of the C++ community, to submit session proposals for the 14th annual C++Now Conference, to be held May 4th โ May 8th, 2026, in Aspen, Colorado.
Read the announcement at cppnow.org/announcement...
#Coding #Cpp #Cppnow #Programming
10.01.2026 13:42 โ ๐ 4 ๐ 2 ๐ฌ 0 ๐ 0
The insane machines that make the most advanced computer chips. Sponsored by Brilliant - To learn for free for a full 30 days, go to https://brilliant.org/veritasium and get started. Plus, ourโฆ
The Ridiculous Engineering Of The World's Most Important Machine
Fun fact, this "world's most complicated/important machine" that Veritasium just covered runs C++!
youtu.be/MiUHjLxm3V0
I know because I have had students from ASML on multiple occasions (they had me out there for training and to speak at a meetup back in 2018!)
@veritasium.bsky.social
06.01.2026 17:01 โ ๐ 22 ๐ 5 ๐ฌ 2 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Episode details: https://github.com/lefticus/cpp_weekly/issues/508
T-SHIRTS AVAILABLE!
โบ The best C++ T-Shirts anywhere!โฆ
C++ Weekly - Ep 514 - C++26 on 1990 DOS?
Ep 514 - C++26 on 1990 DOS?
youtu.be/dtO94ifh7Ac
05.01.2026 16:30 โ ๐ 1 ๐ 1 ๐ฌ 1 ๐ 0
YouTube video by Meeting Cpp
Embedded Friendly C++: Features That Make a Difference - Andreas Fertig - Meeting C++ 2025
Embedded Friendly C++: Features That Make a Difference - Andreas Fertig - Meeting C++ 2025
www.youtube.com/watch?v=eo7L...
#cpp
#cplusplus
04.01.2026 12:44 โ ๐ 3 ๐ 3 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Hudson River Trading engineers use modern C++ to build performance-critical systems for real-time trading. Learn more about open software engineering rolesโฆ
C++ Weekly - Ep 513 - How Many Ways Can You End a Program?
Ep 513- How Many Ways Can You End a Program?
youtu.be/ki9omnMeYS8
29.12.2025 16:30 โ ๐ 4 ๐ 1 ๐ฌ 0 ๐ 0
a screenshot of an editor showing a snippet of code that defines an interface, and a type that models the interface non-intrusively, and a type named `any` that is parameterized on the interface and that stores the model while erasing its type.
No Advent of Code for me. Instead, I've used the break to write the type-erasure library I have always wanted.
C++ doesn't make it easy to have both dynamic polymorphism *and* value semantics, but this little utility does!
Interfaces can extend other interfaces, and it works in consteval, too. ๐คฉ
24.12.2025 01:25 โ ๐ 20 ๐ 6 ๐ฌ 4 ๐ 1
YouTube video by Meeting Cpp
Peering forward: C++'s next decade - Herb Sutter - Keynote Meeting C++ 2024
Peering forward: C++'s next decade - Herb Sutter - Keynote Meeting C++ 2024
www.youtube.com/watch?v=sbcO...
#cpp
#cplusplus
23.12.2025 11:41 โ ๐ 1 ๐ 1 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Episode details: https://github.com/lefticus/cpp_weekly/issues/179
T-SHIRTS AVAILABLE!
โบ The best C++ T-Shirts anywhere!โฆ
C++ Weekly - Ep 512 - reinterpret_cast is Finally Fixed!
Ep 512 - reinterpret_cast is Finally Fixed!
youtu.be/JtFVyXQ00PQ
22.12.2025 16:31 โ ๐ 7 ๐ 2 ๐ฌ 0 ๐ 0
Clever memory tricks โ Matt Godboltโs blog
We learn that compilers have tricks to access memory efficiently
Day 22: String comparison against "ABCDEFG" should call memcmp, but Clang inlines it with some clever memory tricks. How does it compare 7 bytes so efficiently? xania.org/202512/22-me... youtu.be/kXmqwJoaapg #AoCO2025
22.12.2025 12:57 โ ๐ 25 ๐ 4 ๐ฌ 0 ๐ 0
C++ Weekly Episodes - C++ Standard Evolution Viewer
Browse 504 C++ Weekly episodes with links to related C++ standard sections
FYI, besides having the evolution of C++11->C++26 and an adventure game, my website now also has a fully cross-linked database of C++ Weekly episodes!
cppevo.dev/episodes/
Want to see which episodes correlate to which parts of the standard and then jump into the adventure game engine to explore?
18.12.2025 18:22 โ ๐ 14 ๐ 2 ๐ฌ 0 ๐ 0
C++ Insights - Episode 69: = default and uniform initialization - Best Practice Explained
C++ Insights - Episode 69: = default and uniform initialization - Best Practice Explained
In this episode, you'll learn a best practice using =default and uniform initialization.
https://youtu.be/gDKKZb4qASE
#cppinsights #cpp #cpp20
17.12.2025 17:53 โ ๐ 2 ๐ 2 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Hudson River Trading engineers use modern C++ to build performance-critical systems for real-time trading. Learn more about open software engineering rolesโฆ
C++ Weekly - Ep 511 - move(obj).fun() vs move(obj.fun())
Ep 511 - move(obj).fun() vs move(obj.fun())
youtu.be/nLjrMcjsa0Y
15.12.2025 16:30 โ ๐ 3 ๐ 1 ๐ฌ 1 ๐ 0
C++ Standard Adventure - cppevo
Explore the C++ standard as an interactive text adventure game. Navigate between C++ eras, collect knowledge, and learn the language.
I've built a text adventure game engine on top of the C++ Standard. Why? I have no idea. But it's a learning tool with quests and time travel and artifacts and NPC's and XP and ... well, you just have to check it out!
cppevo.dev/adventure
12.12.2025 00:22 โ ๐ 45 ๐ 14 ๐ฌ 3 ๐ 0
Here are the slides to a talk I recently gave.
Material from my ๐ฉ๐ช ESE Kongress talk "static, inline, const und constexpr - Was sie bedeuten und wann man sie verwendet" is available!
๐ Slides: https://fertig.to/slides
#cpp #esekongress
11.12.2025 10:32 โ ๐ 2 ๐ 3 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Episode details: https://github.com/lefticus/cpp_weekly/issues/505
T-SHIRTS AVAILABLE!
โบ The best C++ T-Shirts anywhere!โฆ
C++ Weekly - Ep 510 - The AMAZING Performance of array (and span)!
Ep 510 - The AMAZING Performance of array (and span)!
youtu.be/u0mVnuUh46w
08.12.2025 16:30 โ ๐ 1 ๐ 3 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Hudson River Trading engineers use modern C++ to build performance-critical systems for real-time trading. Learn more about open software engineering rolesโฆ
C++ Weekly - Ep 509 - Can Lambdas Inherit Interfaces?
Ep 509 - Can Lambdas Inherit Interfaces?
youtu.be/f0heIju3udc
01.12.2025 16:30 โ ๐ 3 ๐ 3 ๐ฌ 0 ๐ 0
Btw if you don't know ...
INCITS/ISO/IEC 14882:2024[2025] (C++23) is now published!
It's like the versioning system I used for my thesis.
25.11.2025 22:06 โ ๐ 23 ๐ 3 ๐ฌ 3 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Episode details: https://github.com/lefticus/cpp_weekly/issues/227
Ep 497 - How to Add Static Analysis to Legacy C++ - https://youtu.be/7_nSywhw_E8
C++Nowโฆ
C++ Weekly - Ep 508 - What if You're Windows Only?
Ep 508 - What if You're Windows Only?
youtu.be/aEuRTzj1qrM
24.11.2025 16:30 โ ๐ 2 ๐ 1 ๐ฌ 1 ๐ 0
YouTube video by Matt Godbolt
Intro to the Advent of Compiler Optimisations
I just posted my little intro to the Advent of Compiler Optimisation #AoCO that I announced yesterday. Check it out (and laugh at my terrible editing) at youtu.be/j-BwR-Cw0Gk?... @!4 if you want to watch the series, subscribe! :)
15.11.2025 01:52 โ ๐ 52 ๐ 11 ๐ฌ 0 ๐ 2
YouTube video by ACCU Conference
consteval All The Things? - Jason Turner - ACCU 2025
consteval All The Things? - Jason Turner - ACCU 2025
www.youtube.com/watch?v=q7Om...
#cpp
#cplusplus
14.11.2025 16:43 โ ๐ 2 ๐ 1 ๐ฌ 0 ๐ 0
Matt Godboltโs blog
This December, I'll be posting an article & video each day until Christmas in the Advent of Compiler Optimisations! #AoCO2025
Each day we'll explore a fun optimisation in C or C++; some low-level, x86 or ARM-specific, some high-level. Hope you'll join me!
YT: youtube.com/mattgodbolt
Blog: xania.org
13.11.2025 19:51 โ ๐ 64 ๐ 16 ๐ฌ 3 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Episode details: https://github.com/lefticus/cpp_weekly/issues/494
T-SHIRTS AVAILABLE!
โบ The best C++ T-Shirts anywhere!โฆ
C++ Weekly - Ep 506 - Zero Cost Function Binding
Ep 506 - Zero Cost Function Binding
youtu.be/9laCL5GixNk
10.11.2025 16:31 โ ๐ 3 ๐ 1 ๐ฌ 0 ๐ 0
โโ Awesome T-Shirts! Sponsors! Books! โโ
Episode details: https://github.com/lefticus/cpp_weekly/issues/493
T-SHIRTS AVAILABLE!
โบ The best C++ T-Shirts anywhere!โฆ
C++ Weekly - Ep 505 - C++26's CNTTP bind Functions
Ep 505 - C++26's CNTTP bind Functions
youtu.be/gIyuvqJnhi0
03.11.2025 16:30 โ ๐ 3 ๐ 1 ๐ฌ 0 ๐ 0
compiler engineer from hell
Sometime verb, real person, lover of 8-bit computers, husband & father, trying to be a kind person. #blacklivesmatter; trans rights are human rights.
he/him
Biking to work in big tech companies in Bellevue, WA. Formerly very much C++, now very much making privacy work at scale.
A website for exploring the output of compilers. aka godbolt.org
Supports C, C++, Rust, Fortran, COBOL and many many more.
Support us at https://patreon.com/mattgodbolt
I advise, develop, mentor, write, and speak. C++ mostly. One of the Carbon leads. Limited availability; you can ask. Want me to speak? http://gregcons.com/SpeakerKit.aspx She/her.
โ๏ธ Security, a11y, testing, front-end web dev ๐ TTRPG/voice actor, photographer, model, & dancer. Ex-vidyagames industry ๐ ๐ป๐ง๐ผ๐๐ฑ๐ฎ๐ฝ๏ธ๐จ๐ฎ๐น๐ฉฐ AuDHD poly/bi/demi/enby (they/she) ๐ณ๏ธโ๐โฟ๏ธ Reskeets ๐๐ ๐ ๐ lunalapine.com
He / Him - Icelander in Norway
https://linktr.ee/olafurw
Technical Lead for Rust Program @ Microsoft โข C++ โ๏ธ Rust Tooling (DevDiv), ex Visual C++ team, ex @caphyon, ex @advinst lead, @ClangPowerTools creator, he/him
C++ Consultant and Trainer. Game developer and lead.
Ex Paris C++ User Group organizer. Avid roleplayer, amateur photographer and occasional winetaster.
Photographer, nerd, programmer. He/him. You may know me for my activity on C++ and Quick Bench, but I don't post much about it here.
Compilers and Ponies.
PFP by @kuzuyukuroo.bsky.social
Banner by @ffloweryoutoday (Twitter)
Coder (mostly C++ and Python) and author
Turning difficult into divine simplicity. Software Engineering Consultancy. Some things we do: C and C++ (including Standards). Rust. Encodings & Unicode. Open Source. Scripting for All Devices.
Website: https://soasis.org
Inquiries: inquiries@soasis.org
It's my fault "throw ๐ฉ;" is no longer valid C++. In penance, I worked to make optional<T&> happen.
Parody of a real software engineer and grown up.
Software engineer at Bloomberg LP
Views are my own
he/him
@sdowney@mastodon.social
C++ librarian, programming blogger, meme enjoyer.
I write code and sometimes I actually publish it.
Creator of http://bpt.pizza
Don't let your memes be dreams!
Trainer, Speaker, Programmer all around C++ and Embedded Systems. Creator of http://cppinsights.io