Special Interest Group on C++'s Avatar

Special Interest Group on C++

@sigcpp.bsky.social

Teaching, learning, and practicing contemporary C++ #cpp #cplusplus #education #teaching #EduSky Moderated by @smurthys.bsky.social

120 Followers  |  56 Following  |  28 Posts  |  Joined: 14.06.2023  |  1.6479

Latest posts by sigcpp.bsky.social on Bluesky

Preview
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
C++ Weekly - Ep 518 - Online C++ Tools You Must See! (2026)
โ˜Ÿโ˜Ÿ 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
C++ Weekly - Ep 517 - Tool Spotlight: ClangBuildAnalyzer
โ˜Ÿโ˜Ÿ 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
Preview
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
C++ Weekly - Ep 515 - Revolutionize Your Templates with static_assert of non-value-dependent Exprs
โ˜Ÿโ˜Ÿ 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
Post image

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
Preview
Efficient C++: The hidden compile-time cost of auto return types In today's post, I would like to dive into writing efficient C++ code. As you probably know, one post will not cover this entire topic....

Check out my post, "Efficient C++: The hidden compile-time cost of auto return types," you'll learn how to optimize compile times for your C++ code.

https://andreasfertig.com/blog/2025/09/efficient-cpp-the-hidden-compile-time-cost-of-auto-return-types/

#cplusplus #cpp #cpp17

09.01.2026 17:36 โ€” ๐Ÿ‘ 3    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
The Ridiculous Engineering Of The World's Most Important Machine
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
Preview
Singleton done right in C++ In today's post, I like to touch on a controversial topic: singletons. While I think it is best to have a codebase without singletons,...

In my latest blog post, "Singleton done right in C++," you'll learn how to implement a singleton correctly, if you have to.

https://andreasfertig.com/blog/2026/01/singleton-done-right-in-cpp/

#cplusplus #cpp #cpp17

06.01.2026 10:31 โ€” ๐Ÿ‘ 4    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
C++ Weekly - Ep 514 - C++26 on 1990 DOS?
โ˜Ÿโ˜Ÿ 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
Embedded Friendly C++: Features That Make a Difference - Andreas Fertig - Meeting C++ 2025
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
C++ Weekly - Ep 513 - How Many Ways Can You End a Program?
โ˜Ÿโ˜Ÿ 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.

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
Peering forward: C++'s next decade - Herb Sutter - Keynote Meeting C++ 2024
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
C++ Weekly - Ep 512 - reinterpret_cast is Finally Fixed!
โ˜Ÿโ˜Ÿ 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

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
C++ Weekly - Ep 511 - move(obj).fun() vs move(obj.fun())
โ˜Ÿโ˜Ÿ 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
Preview
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
C++ Weekly - Ep 510 - The AMAZING Performance of array (and span)!
โ˜Ÿโ˜Ÿ 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
C++ Weekly - Ep 509 - Can Lambdas Inherit Interfaces?
โ˜Ÿโ˜Ÿ 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
C++ Weekly - Ep 508 - What if You're Windows Only?
โ˜Ÿโ˜Ÿ 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
Intro to the Advent of Compiler Optimisations
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
consteval All The Things? - Jason Turner - ACCU 2025
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
C++ Weekly - Ep 506 - Zero Cost Function Binding
โ˜Ÿโ˜Ÿ 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
C++ Weekly - Ep 505 - C++26's CNTTP bind Functions
โ˜Ÿโ˜Ÿ 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

@sigcpp is following 19 prominent accounts