Redhat: GCC 12 will be released next week to improve C++ language
- CVE-2007-4559 Python vulnerability ignored for 15 years puts 350,000 projects at risk of code execution
- RISC-V only takes 12 years to achieve the milestone of 10 billion cores
- 14000 cores + 450W: RTX 4080 graphics card perfectly replaces the RTX 3080
- Big upgrade: The difference between Bluetooth 5.0 and 5.2
- Geeks Disappointed that RTX 4080/4090 doesn’t come with PCIe 5.0
- What are advantages and disadvantages of different load balancing?
Redhat: GCC 12 will be released next week to improve C++ language.
GCC 12 showcases new “C++” features: Introducing more “C++23”-oriented implementations.
GCC 12.1 will be released in the next week or so, and Red Hat’s Marek Polacek published a new blog post this week outlining the many C++ language improvements coming in this major update to the GNU compiler collection.
GCC 12 defaults to C++17 (i.e. the GNU++17 “dialect”), but with this annual compiler update, more of C++23 is implemented. Although in GCC 12, both C++20 and C++23 are still considered experimental.
GCC 12 implements C++23’s if consteval, auto(x), non-literal variables in constexpr functions, multi-dimensional subscript operators, elifdef and elifndef preprocessing instructions, extended init-statement, folding trivial functions and other functions .
GCC 12 also introduces various new and improved compiler warnings.
More details on the C++ improvements in the upcoming GCC 12 can be found via the Red Hat Developer Blog:
GCC 12 also has improvements to the static analyzer and more. In GCC 13 next year, the goal of the development team is to complete support for C++23.
GCC 12 showcases new “C++” features: Introducing more “C++23”-oriented implementations
- DIY a PBX (Phone System) on Raspberry Pi
- How to host multiple websites on Raspberry Pi 3/4?
- A Free Intercom/Paging system with Raspberry pi and old Android phones
- DIY project: How to use Raspberry Pi to build DNS server?
- Raspberry Pi project : How to use Raspberry Pi to build git server?