←back to thread

GCC 15.1

(gcc.gnu.org)
270 points jrepinc | 5 comments | | HN request time: 0.289s | source
1. elvircrn ◴[] No.43793533[source]
"C++ Modules have been greatly improved."

It would be nice to know what these great improvements actually are.

replies(3): >>43793861 #>>43794293 #>>43795633 #
2. artemonster ◴[] No.43793861[source]
those were the greatest improvements of all time. all of them. :D
3. canucker2016 ◴[] No.43794293[source]
Later in the article, it mentions:

    Improved experimental support for C++23, including:

        std and std.compat modules (also supported for C++20).
From https://developers.redhat.com/articles/2025/04/24/new-c-feat...:

    The next major version of the GNU Compiler Collection (GCC), 15.1, is expected to be released in April or May 2025.

    GCC 15 greatly improved the modules code. For instance, module std is now supported (even in C++20 mode).
4. boris ◴[] No.43795633[source]
In GCC 14, C++ modules were unusable (incomplete, full of bugs, no std modules, etc). I haven't tried 15 yet but if that changed, then it definitely qualifies for a "great improvement".
replies(1): >>43796342 #
5. bluGill ◴[] No.43796342[source]
Still no std modules but otherwise likely useable. modules are ready for early adoptors to use and start writing the books on what you should do. (Not how to do it, those books are mostly written though not in print. How hou should as is was imbort std a good idea or shoule containers and algorithms been split - or maybe something I haven't though of)