GCC 8.1 Compiler Introduces Initial C++20 Support (gnu.org)
"Are you tired of your existing compilers? Want fresh new language features and better optimizations?" asks an announcement on the GCC mailing list touting "a major release containing substantial new functionality not available in GCC 7.x or previous GCC releases."
An anonymous reader writes: GNU has released the GCC 8.1 compiler with initial support for the C++20 (C++2A) revision of C++ currently under development. This annual update to the GNU Compiler Collection also comes with many other new features/improvements including but not limited to new ARM CPU support, support for next-generation Intel CPUs, AMD HSA IL, and initial work on Fortran 2018 support.
An anonymous reader writes: GNU has released the GCC 8.1 compiler with initial support for the C++20 (C++2A) revision of C++ currently under development. This annual update to the GNU Compiler Collection also comes with many other new features/improvements including but not limited to new ARM CPU support, support for next-generation Intel CPUs, AMD HSA IL, and initial work on Fortran 2018 support.
... that gcc has gone "uncool", largely because llvm is where all the hipsters are but also because it's now trying too hard, and worse, that C++ is trying to prove something, only to end up like some sort of perl or something. This doesn't seem to be a recipe for success to me.
Recent features: [=, this] as a lambda capture, Template parameter lists on lambdas, three-way comparison using the "spaceship operator", operator
C++ had Frankenstein's Monster syndrome back when STL started, and the generated templates were near impossible to debug. K&R complained C had too many operators. Here they are adding more and more. Step back from the keyboard and let the language be.
I did discover a new programming language that may revolutionate the paradigms of the programmation.
In a near future, there will be a migration from weak C to strong C that could be possible in 2 or 3 years.
GCC is overcomplicated to develop the front-end or the back-end.
There are many options:
1. my language + GCC's back-end (Intermediate Representation).
2. my language to generate to C or C++ and later compiled by GCC.
3. my language + own back-end from scratch.
Cowabunga! This fixes the single most vexing upward compatibility issue between C and C++, and also a glaring maintainability issue in C++. How sweet that it only took, hmm, two decades to work through the initialization order wankery. Note: gcc has had this since forever, but disabled because the standard org didn't bless it.
When all you have is a hammer, every problem starts to look like a thumb.
I run Fedora 28, which has gcc 8 by default. Can confirm, has improvements.
the only new feature that really matters
Isn’t that why people left gcc for clang/llvm in the first place?
#DeleteChrome
I'm getting the feeling that gcc has gone "uncool", largely because llvm is where all the hipsters are but also because it's now trying too hard
And here I thought it was because GCC is an unwieldy monster that uses an abundance of proprietary macros, compiler extensions and only recently allowed C++ on a limited basis. Silly me.
Anons need not reply. Questions end with a question mark.
*Facepalm*
In the case of Apple and Qualcomm, they apparently prefer a compiler that will let them distribute a proprietary (non-free, user-subjugating) derivative. Brad Kuhn, President of Software Freedom Conservancy, has predicted that as soon as Apple finds the compiler to be good enough they'll stop their upstream contributions.
Digital Citizen
They are running a little late...
"From: Jakub Jelinek : GCC 8.1 Released
Some code that compiled successfully with older GCC versions might require
source changes"
OK I'll stick to my version, I think...
really shine in pointer arithmetic, since many instruction sets have auto-incrrement and auto-decrement .b,.w,.l
addressing modes. I.e get what R1 points to, then increment R1 by 1,2 or 4 for