C++ Conference 2024: Main Announcements and Innovations
In early November 2024, one of the largest annual C++ conferences, CppCon 2024, concluded in Berlin. The event brought together leading developers from the standardization committee, engineers from Google, Microsoft, and JetBrains, as well as independent enthusiasts. The main theme was the future of the language: safety, performance, and the evolution of the standard. We have gathered the most important announcements that will affect everyone who writes in C++.
Key Innovations in C++26
The ISO C++ committee presented an updated plan for the C++26 standard. Several long-awaited features are included:
- Standardization of
std::execution— a new framework for asynchronous operations and parallelism that will replace raw threads and simplify writing concurrent code. - Pattern Matching — a long-awaited feature that allows writing more readable and safe code instead of cumbersome if-else and switch statements.
- Extension of
constexpr— vectors and strings can now be used in compile-time computations, paving the way for more efficient templates. - Improved Coroutines — new lazy generators and support for stackful contexts for high-load applications have been added.
Memory Safety: A New Vector of Development
One of the most discussed topics was the Safe C++ initiative — a project aimed at eliminating the root causes of memory-related vulnerabilities. The committee presented a draft language extension that includes:
- A borrow checker, similar to Rust, but with backward compatibility preserved.
- Mandatory default variable initialization (Zero-initialization) in new code.
[[unsafe::memory]]markers for explicitly indicating dangerous operations — this will allow static analyzers to identify problems more accurately.
An experimental implementation is expected to appear in GCC 15 and Clang 19 as early as 2025.
Toolchain and Ecosystem: What Will Change?
In addition to the standard, important tool updates were announced at the conference:
- CMake 4.0 — a completely redesigned module system (C++20 modules) and built-in dependency caching support.
- Clangd LSP — improved refactoring support for C++26, including automatic conversion of switch to pattern matching.
- Qt 7 — the first public preview with Safe C++ support and new zero-overhead QML-based widgets.
- Google Abseil — released a library for safe work with raw pointers (AbslSafePtr), already used in Chromium.
What Does This Mean for Developers?
The conference showed that C++ is not only maintaining its position in system programming, games, and high-load services but is also actively catching up with modern languages in terms of safety and convenience. It is already worth starting to learn pattern matching and the new capabilities of std::execution — this will significantly simplify code. And the Safe C++ initiative could become mandatory for the financial sector and aerospace in a couple of years.
Full recordings of the talks are available on the CppCon YouTube channel, and slides are in the committee's repository. Stay tuned for updates on python