this post was submitted on 22 Jun 2023
8 points (100.0% liked)

General Programming Discussion

185 readers
3 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

The latest major version of the GNU Compiler Collection (GCC), 13.1, was released in April 2023. Like every major GCC release, this version brings many additions, improvements, bug fixes, and new features. GCC 13 is already the system compiler in Fedora 38. Red Hat Enterprise Linux (RHEL) users will get GCC 13 in the Red Hat GCC Toolset (RHEL 8 and RHEL 9). It's also possible to try GCC 13 on godbolt.org and similar web pages.

Like the article I wrote about GCC 10 and GCC 12, this article describes only new features implemented in the C++ front end; it does not discuss developments in the C++ language itself. Interesting changes in the standard C++ library that comes with GCC 13 are described in a separate blog post: New C features in GCC 13

top 1 comments
sorted by: hot top controversial new old
[–] radarsat1@lemmy.ml 1 points 1 year ago

really curious about contracts. It seems from the example that they are a runtime thing so what is the advantage over just putting some checks in your code at the top and bottom of the function? Does it allow the compiler to help infer compile time conditions at all?

load more comments
view more: next ›