KDE Plasma 5.26 is expected to upgrade to use C++20 development features
1 min readKDE Plasma 5.26 is expected to upgrade to use C++20 development features
KDE Plasma 5.26 is expected to upgrade to use C++20 development features.
In the upcoming KDE Plasma 5.26 desktop environment, KDE developers are considering using the C++20 language for subsequent features.
And over time, this newer C++ language will be used in other KDE components as well.
KDE developer Nicolas Fella proposed the use of C++20 in Plasma 5.26.
In particular, C++ coroutine support is one of the features of C++20 that he hopes to use in the next major Plasma release.
Raising the C++ requirements to C++20 means raising the KDE compiler requirements to GCC 10 or Clang 11.
So, check out the mailing list announcement to see if GCC 10 / Clang 11 is required to build Plasma 5.26+, and if it will break the workflow of existing users or have an impact on the package.
The KDE Plasma desktop is focusing on C++20 to enjoy coroutines and other modern language features.
Plasma 5.26 is targeted for a mid-October release, and the GCC 10/Clang 11 release has been stable for two years.
So far, based on the comments made so far, the use of C++20 seems like a reasonable choice.
If C++20 is allowed in the next KDE Plasma release, the already pending merge requests will start replacing various custom code with standardized C++ coroutines.