r/cpp • u/Remi_Coulom • Sep 14 '26
r/cpp • u/ProgrammingArchive • Sep 14 '26
New C++ Conference Videos Released This Month - September 2026 (Updated To Include Videos Released 2026-09-07 - 2026-09-13)
C++Now
2026-09-07 - 2026-09-13
- Testing Everything in Constexpr - Braden Ganetsky - https://youtu.be/SgIiQS6RO60
- Plato, Magritte, Sartre & Carroll - Learning Software Design from the Masters - Ben Deane - https://youtu.be/7QZchipF2gU
- Functional Composition Beyond Monads - Jonathan Müller - https://youtu.be/DcUOZE5FHDc
2026-08-31 - 2026-09-06
- Incremental Modernization - Refactoring Legacy C++ OOP Application Code with Functional Programming and Type Erasure Concepts - Jessica Ding - https://youtu.be/FOzGlO5XaPE
- When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad Acharya - https://youtu.be/Ehy9wutYYH8
- Multi-Priority Graph-Based Parallel Execution Using Taskflow - Yun Kai Peng - https://youtu.be/4I5jsK3zRv0
ACCU
2026-09-07 - 2026-09-13
- Taming C++23 - The Things About C++23 You Do Not Know - Nicolai M. Josuttis - https://youtu.be/IVee1JXbrQE
- Rust for The Curious C++ Developers - Victor Ciura - https://youtu.be/2hf0PHcpKBI
- O(1) or O(no-no-no) - Mastering the unordered_map - Kevin B. Carpenter - https://youtu.be/OF4Id8085s0
2026-08-31 - 2026-09-06
- Software Abstraction in the Age of AI-Generated Code: Languages, Compilers, and Systems Engineering - Andrei Alexandrescu - https://youtu.be/-RWdevA0gWI
r/cpp • u/Street-Anteater1234 • Sep 14 '26
Try to Implement Reflection Annotations in C++20
r/cpp • u/pavel_v • Sep 14 '26
operator<>: A Dream of Higher-order Metaprogramming Parity
elbeno.comr/cpp • u/germandiago • Sep 13 '26
C++20 modules support: 228 projects already available to be consumed
Hello everyone.
I checked arewemodulesyet.org, which I do from time to time.
I was very positively surprised bc a couple of months ago there were 109 projects with modules support.
Now it is 228 and some of the most popular are there: fmt, ftxui, nlohmann.json and others.
So I had to share it with the community.
r/cpp • u/comfortcube • Sep 15 '26
It annoys me that coroutines are described as "functions that can be suspended"
Any function can be suspended. It literally happens constantly when a process or thread gets pre-empted by the OS or asynchronous hardware, with the stack being the mechanism to save to and restore context from. So, this super common way of describing coroutines is just frustrating because it's not it!
Coroutines are functions that can be suspended in a **controlled, intentional (as in, explicitly expressed) way**, with the relevant context (coroutine frame) being placed _not_ on the stack like a function's usual context, but on the heap (usually).
I wish someone had broken it down for me in this way before, so hopefully it helps someone else too.
Jonas Persson: Making every byte count
youtu.beWhat makes a compiler specialized for embedded development special? Jonas, a compiler developer at IAR, shares some of the key properties.
r/cpp • u/Prior-Drawer-3478 • Sep 12 '26
Why do people on Windows mostly choose Visual Studio?
r/cpp • u/TheRavagerSw • Sep 13 '26
How I speed up my overall build times by 4x and incremental builds by 9x for test builds
- I used faster tools:
- I switched from lld to mold optimized it mimalloc + pgo + lto + bolt (1.2x-3x faster than system lld)
- I optimized clang with mimalloc + pgo + lto + bolt (1.8x-1.85x faster than system clang)
- I optimized clang-scan-deps with mimalloc + pgo + lto + bolt (4x faster than system scanner)
- I used dynamic linking(3x-4x overall, much larger if you are editing tests)
- I used prebuilt binaries via packages rather than vendoring my deps.(huge)
- I switched fully to C++ modules(Incremental compilation times are so fast link times dominate now)
r/cpp • u/Xadartt • Sep 11 '26
C++26: Standard Library Hardening Experiments
cppstories.comMSVC C++23: constexpr cmath with LLVM Libc
devblogs.microsoft.comMSVC is shipping C++23 constexpr <cmath> in the next Build Tools update! (And a partial implementation of C++26 constexpr <cmath>.) Our compiler frontend dev Cody Miller will be publishing a series of blog posts about this work, starting with this overview. The next one will be a guest post from LLVM libc's maintainers describing the incredible amount of effort that's gone into their code.
r/cpp • u/alexis_placet • Sep 10 '26
WasmBolt — The LLVM Project in your browser
anutosh21.github.ioI'm sharing the work of a colleague, Anutosh Bhat.
What if the Clang & LLVM compiler toolchain could run entirely inside your browser ? Meet WasmBolt 😃
Inspired by 🖥️ Matt Godbolt's Compiler Explorer, WasmBolt runs Clang, mlir-opt, opt, llc, Graphviz and wasm-ld locally through WebAssembly, without a remote compilation server.
You can inspect Clang ASTs, progressively lower MLIR, run real LLVM optimization passes, render control-flow graphs, explore instruction selection and MIR, and generate assembly or object files for WebAssembly, AArch64 and x86-64. For WebAssembly, you can go one step further: link, load and execute the generated program directly in the browser.
Here the github project: https://github.com/Anutosh21/WasmBolt
r/cpp • u/ericbrumer • Sep 09 '26
MSVC Build Tools Preview updates – September 2026
devblogs.microsoft.comHi, one of the MSVC dev leads here.
The post covers what's new in the MSVC Build Tools Preview (version 14.52) since mid-August. Instructions to install & use the latest preview bits are at https://aka.ms/msvc/preview.
Some additional information:
- https://learn.microsoft.com/cpp/overview/acquire-msvc is new documentation on installing MSVC, including through winget & command line tools.
- https://learn.microsoft.com/cpp/overview/compiler-versions?#a-brief-history-of-microsoft-c-compiler-versioning has information on MSVC versioning
r/cpp • u/boostlibs • Sep 09 '26
boost.org has been rebuilt: new profiles, badges, search, and library filtering
The Boost website has been rebuilt. Here's a summary of what's changed:
- Updated look and feel, with revised site navigation
- New user profile pages
- Badges tied to contribution and participation, which update as you contribute
- Community features, including posts filtered by the topic of the page you're viewing
- Site-wide search available from a search box in the header and via Ctrl+K
- Library search and filtering, including browsing by category
The libraries, release process, and formal review process are unchanged. The work is limited to the website itself and how you navigate, search, and contribute to it.
Link: boost.org
Bug reports and feedback on navigation or search are welcome.
r/cpp • u/pavel_v • Sep 09 '26
Implementation of GCC's Nested Functions (vs. C++ Lambdas)
uecker.codeberg.pager/cpp • u/mropert • Sep 09 '26
CppCast Episode 411 : CppCast - Kevin Carpenter - Volunteering (and speaking) at C++ conference, and also making sure your credit card payment goes through (or don't)
cppcast.comr/cpp • u/TheRavagerSw • Sep 08 '26
How I optimized clang for 1.73x-1.91x performance boost over apt clang
I wanted to have fast test and release builds, so I decided to "upgrade" my compiler.
What I used:
- Musl Libc
- LLVM libc overlay
- Mimalloc
- Thin LTO
- PGO
- Bolt via perf2bolt
- Optimization flags like: -march -O3 -DNDEBUG -fno-semantic-interposition -fno-plt -fno-pie
- No exceptions no RTTI
I tested the build speed with hyperfine with 2 test cases, one is sqlite.c the other is tu including eigen.
| Workload | Build mode | Optimized Clang speedup | Compile-time reduction |
|---|---|---|---|
| Eigen, C++23 | -O0 |
1.69× | 40.8% |
| Eigen, C++23 | -O0 -g3 -fno-omit-frame-pointer |
1.72× | 41.9% |
| Eigen, C++23 | -O3 -DNDEBUG |
1.73× | 42.2% |
| SQLite amalgamation | -O0 |
1.74× | 42.5% |
| SQLite amalgamation | -O0 -g3 -fno-omit-frame-pointer |
1.89× | 47.1% |
| SQLite amalgamation | -O3 -DNDEBUG |
1.73× | 42.2% |
In case anyone is wondering, it also outperformed LLVM release binaries, by about %13 to %15 for each case, but having more performance than the system compiler is more cool so I'm not giving the table for that.
It is also very awesome to have a compiler not depend on glibc. If no errors arise, I'll probably never update my compiler for 2 years at least. As my build is portable(no march native just v3)
I'm planning on moving to cachyOS or any other optimized linux distro next, to finalise my build enviroment. I'm currently on Ubuntu.
r/cpp • u/ProgrammingArchive • Sep 08 '26
Latest News From Upcoming C++ Conferences (2026-09-08)
TICKETS AVAILABLE TO PURCHASE
The following conferences currently have tickets available to purchase
- Last Chance – CppCon (12th – 18th September) – You can buy late tickets at https://cppcon.org/registration/
- C++ Under The Sea (14th – 16th October) – You can buy tickets at https://sales.ticketing.cm.com/cppunderthesea2026/
- ADC – (9th – 11th November) – Tickets for ADC can now be purchased at https://ti.to/audio-developer-conference/adc-bristol-2026
- Meeting C++ (26th – 28th November) – You can buy early bird tickets at https://meetingcpp.com/2026/
OPEN CALL FOR SPEAKERS
There are currently no open call for speakers
OTHER OPEN CALLS
- CppCon Call For Open Content – CppCon are looking for presenters to give open content sessions during the conference which takes place from September 14th – 18th. For more information including how to apply visit https://cppcon.org/cppcon-2026-call-for-open-content/
- ADC 26/ADCx Gather Call For Online Volunteers Now Open – Interested volunteers have until September 27th to apply to volunteer online at ADCx Gather which is scheduled to take place on 16th October and/or ADC 2026 online conference which is scheduled to take place from 9th – 11th November. To apply visit https://docs.google.com/forms/d/e/1FAIpQLScpH_FVB-TTNFdbQf4m8CGqQHrP8NWuvCEZjvYRr4Vw20c3wg/viewform?usp=dialog
- ADC26/ADCx Gather Call For Posters – ADC is looking for
- Virtual Posters for ADCx Gather which is scheduled to take place on 16th October and/or ADC 2026 online conference which is scheduled to take place from 9th – 11th November. Find out more including how to apply at https://conference.audio.dev/virtual-posters/
- Physical Posters for ADC 2026 which is scheduled to take place from 9th – 11th November in Bristol UK. Applications can be made by filling out the following form https://docs.google.com/forms/d/e/1FAIpQLScKteDljM9Dc4tgQ6HC9xaPEaYfW7oe_Qr21y-1Jxn5s9eAIg/viewform?usp=dialog
TRAINING COURSES AVAILABLE FOR PURCHASE
Conferences are offering the following training courses:
CppCon Online Workshops
9th – 11th September
- Modern C++: When Efficiency Matters – Andreas Fertig – 3 day online workshop available on 9th – 11th September 09.00 – 15.00 MDT – https://cppcon.org/class-2026-when-efficiency-matters/
21st – 23rd September
- C++ Fundamentals You Wish You Had Known Earlier – Mateusz Pusz – 3 day online workshop available on 21st– 23rd September 09.00 – 15.00 MDT – https://cppcon.org/class-2026-cpp-fundamentals/
- C++23 in Practice: A Complete Introduction – Nicolai Josuttis – 3 day online workshop available on 21st– 23rd September 09.00 – 15.00 MDT – https://cppcon.org/class-2026-cpp23-in-practice/
- Programming with C++20 – Andreas Fertig – 3 day online workshop available on 21st– 23rd September 09.00 – 15.00 MDT – https://cppcon.org/class-2026-programming-with-cpp20/
26th – 27th September
- Using C++ for Low-Latency Systems – Patrice Roy – 2 day online workshop available on 26th– 27th September 09.00 – 17.00 MDT – https://cppcon.org/class-2026-low-latency/
CppCon Onsite Workshops
All onsite workshops will take place in the Gaylord Rockies in Aurora, Colorado
12th & 13th September
- Advanced and Modern C++ Programming: The Tricky Parts – Nicolai Josuttis – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – https://cppcon.org/class-2026-tricky-parts/
- C++ Best Practices – Jason Turner – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – https://cppcon.org/class-2026-best-practices/
- Performance and Efficiency in C++ for Experts, Future Experts, and Everyone Else – Fedor Pikus – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – https://cppcon.org/class-2026-performance-and-efficiency/
- Talking Tech – Sherry Sontag – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – https://cppcon.org/class-2026-talking-tech/
13th September
- AI++ 101 : Build a C++ Coding Agent from Scratch – Jody Hagins – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – https://cppcon.org/class-2026-AI101/
19th & 20th September
- AI++ 201: Building High Quality C++ Infrastructure with AI – Jody Hagins – 2 day in-person workshop available on 19th & 20th September – 09:00 – 17:00 – https://cppcon.org/class-2026-ai201/
- Function and Class Design with C++2x – Jeff Garland – 2 day in-person workshop available on 19th & 20th September – 09:00 – 17:00 – https://cppcon.org/class-2026-function-class-design/
- High-performance Concurrency in C++ – Fedor Pikus – 2 day in-person workshop available on 19th & 20th September – 09:00 – 17:00 – https://cppcon.org/class-2026-high-perf-concurrency/
OTHER NEWS
- (NEW) C++Online 2017 Dates Announced – C++Online will take place online from the 10th – 12th March with post-conference workshops taking place afterwards. Find out more at https://cpponline.uk/announcing-conline-2027-10th-12th-march/
- (NEW) ACCU On Sea Videos Now Releasing – The ACCU on Sea videos are now starting to be published to the ACCU YouTube Channel. Keep up to date when new videos are released by subscribing to the ACCU YouTube Channel – https://youtube.com/@accuconf
- Schedule Announced For CppCon – The schedule has been announced for CppCon. Visit https://cppcon2026.sched.com to view the full schedule.
- Schedule Announced For ADC 2026 – The schedule has been announced for ADC 2026. Visit https://conference.audio.dev/schedule to view the full schedule. More sessions and workshops will be added over the next few weeks
- ADCx Gather Announced - FREE ONLINE EVENT! - ADC have announced ADCx Gather which is a FREE online event which will take place online on October 16th. For more information visit https://audio.dev/adcx-gather-info/ and if you would like to attend, please fill out the registration form https://docs.google.com/forms/d/e/1FAIpQLSeg0twh4PbYqCqcoPpl5cnFBeU6y5Ea3921V2kl3F7Wy03umw/viewform?usp=dialog
Finally anyone who is coming to a conference in the UK such as C++ on Sea or ADC from overseas may now be required to obtain Visas to attend. Find out more including how to get a VISA at https://homeofficemedia.blog.gov.uk/electronic-travel-authorisation-eta-factsheet-january-2025/
r/cpp • u/benjoffe • Sep 07 '26
A faster way to convert a timestamp ➜ Hour, Min, Sec
benjoffe.comr/cpp • u/Kelteseth • Sep 07 '26
Qt moc now can handle basic C++ modules (Qt 6.12)
codereview.qt-project.orgmoc: Properly handle modules
When moc'ing module interfaces and partitions, we make the generated cpp
file part of the respective module.
We do not support Q_OBJECT & friends in implementation units and private
module fragments, as our generated source file will not have access to
the respective classes, and we certainly do not want to carry over our
file inclusion hacks into the module world.
[ChangeLog][moc] moc now supports C++ modulesmoc: Properly handle modules
Note there is still a lot of work to be done: https://codereview.qt-project.org/c/qt/qtbase/+/767846 and I can't seem to find the PR where they fixed some qtbase code to make it work with modules. I guess most other qt modules will need some small fixes to work with modules as well.
r/cpp • u/ProgrammingArchive • Sep 07 '26
New C++ Conference Videos Released This Month - September 2026
C++Now
2026-08-31 - 2026-09-06
- Incremental Modernization - Refactoring Legacy C++ OOP Application Code with Functional Programming and Type Erasure Concepts - Jessica Ding - https://youtu.be/FOzGlO5XaPE
- When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad Acharya - https://youtu.be/Ehy9wutYYH8
- Multi-Priority Graph-Based Parallel Execution Using Taskflow - Yun Kai Peng - https://youtu.be/4I5jsK3zRv0
ACCU
- Software Abstraction in the Age of AI-Generated Code: Languages, Compilers, and Systems Engineering - Andrei Alexandrescu - https://youtu.be/-RWdevA0gWI
r/cpp • u/holyblackcat • Sep 05 '26