not really C++20
not really C++20
Posted May 1, 2026 4:02 UTC (Fri) by rolexhamster (guest, #158445)Parent article: GCC 16.1 released
The default C++ standard is being advertised as "C++20" (specifically the GNU C++20 "dialect" which is just minor extensions), but this isn't really C++20 as it doesn't properly support modules, a major feature of C++20.
From GCC 16.1 release notes:
-
N.B. C++20 modules support is still experimental and must be enabled by -fmodules.
Not blaming GCC developers for this. It's more of a symptom of a broken (and seriously outdated) development model for the C++ language.
It's now mid-2026, and yet there is no C++ compiler as of today that actually properly supports the C++20 standard, "finalized" in February 2020, more than 6 years ago. Similar problem with the C++23 standard, "finalized" in February 2023.
- state of C++20 compiler support: https://cppreference.com/cpp/compiler_support/20
- state of C++23 compiler support: https://cppreference.com/cpp/compiler_support/23
Compare this with the development and deployment model of languages likes Python and Rust. When Python 3.14 is released, we get the full implementation of Python 3.14, not a "theoretical" half-complete implementation of Python 3.14.
