And in the wild (supported by all major compilers) we will see this somewhere around 2040…
nly · 3h ago
Not if you run RHEL:
dnf install gcc-toolset-X
pjmlp · 3h ago
GCC only started supporting C++20 modules in a usable form, last month, and there are still parts missing from C++20.
So expect at very least 2026 + 5 => 2031 for that command to provide a complete C++26 development experience.
ender341341 · 2h ago
The compiler writers have had a ton of issues implementing modules and aren't particularly excited for them (the committee seems to have forgot the lessens learned from c++98 and not having full implementations for crazy hard things)
on the other hand constexpr changes tend to be picked up pretty quickly, and a lot of them tend to be things that the compiler/stl authors themselves are asking for.
gpderetta · 2h ago
Sure but this is about constexpr, not modules.
mkoubaa · 36m ago
Modules implicate the entire toolchain, backward compatibility, and binary compatibility. constexpr is a compiler feature. Wild that they are being compared.
kubav027 · 2h ago
One of my first tasks in my carrier was implementing stable sort to incomplete stl implementation. In 3 years no one used it. This so niche it should not be part of C++ standard.
brooke2k · 3h ago
seeing the words "constexpr sorting" makes all the compile-time sirens go off in my head
mkoubaa · 36m ago
We demand an opt out!
dvratil · 2h ago
Amazing, now could I just get a way to do asynchronous network requests in two lines of code, like I have with other languages?
Honestly, it seems to me like the committee is constantly chasing the easy bits but is failing to address the bigger issues in the language and, more importantly, the standard library.
dnf install gcc-toolset-X
So expect at very least 2026 + 5 => 2031 for that command to provide a complete C++26 development experience.
on the other hand constexpr changes tend to be picked up pretty quickly, and a lot of them tend to be things that the compiler/stl authors themselves are asking for.
Honestly, it seems to me like the committee is constantly chasing the easy bits but is failing to address the bigger issues in the language and, more importantly, the standard library.