Slashdot Mirror


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.

4 of 90 comments (clear)

  1. Here lies C++, killed by feature creep by Anonymous Coward · · Score: 1, Insightful

    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.

  2. “Are you tired of your existing compilers?&r by 93+Escort+Wagon · · Score: 4, Insightful

    Isn’t that why people left gcc for clang/llvm in the first place?

    --
    #DeleteChrome
  3. Are you tired of your existing compilers? by jbn-o · · Score: 3, Insightful

    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.

  4. Re:I'm getting the feeling... by goose-incarnated · · Score: 1, Insightful

    "Are you tired of your existing compilers? Want fresh new language features and better optimizations?"

    "Then consider ditching gcc and going with LLVM". Is that how the quote ends?

    I can't wait for that festing pile of bloat and compiler bugs to finally die, I really can't. Every single new release brings more code-generation bugs that we have to work around in our product, we're slowly working away at The Mgt. to get them to simply require LLVM or some other compiler that doesn't break things on every release, and whose maintainers will actually respond to bug reports rather than closing them all with WONTFIX, "if you squint at the spec from just the right angle and use your imagination then this showstopper bug is actually permitted".

    I'm calling you a liar on all of those. The biggest difference is that LLVM is trendy and GCC is not.

    very single new release brings more code-generation bugs that we have to work around in our product,

    Example? (I know you don't have an example of consecutive releases with different codegen bugs, but asking at least makes it clear to other readers that you don't know what you are talking about).

    --
    I'm a minority race. Save your vitriol for white people.