Live data from Hacker News

GCC 14.1

gcc.gnu.org

51–55 of 55 posts

Re: GCC 14.1

#51

Is Ada being used in the industry? Looks actually quite fun to play with from changelog additions. I didn’t realise it’s still under active development.

Yes. People usually are surprised that NVIDIA is using it : https://www.adacore.com/nvidia

Ada is assumed to be dead by most US-centric programmers, but is alive and used outside the US. Seems most of the action these days in Ada-land is in Europe.

Re: GCC 14.1

#52
post #47
post #35

Earlier quoted context omitted.

-std=gnu98 works. ie explicitly telling it your code is not modern C.

The new flags apply regardless of -std value, as does -fno-common

Uhh no they don't, and it's explicitly documented under https://gcc.gnu.org/gcc-14/porting_to.html in "Turning errors back into warnings".

Futher more every warning Explains why the std value affects them.

Re: GCC 14.1

#53
post #5

Earlier quoted context omitted.

With hopefully more to come! There's a RISE project proposal being kicked around to improve vectorization support.

I didn't realize RISC-V already has so many extensions. I just briefly looked over them and apparently they are often just small parts which get grouped up into larger extensions, but I hope the extension "mess" won't kill risc-v in the end. Still very excited about RISC-V progress

Software does mostly target Profiles, such as RVA22 (latest ratified application profile). They specify a set of extensions that is required.

Note that all software compiled for RVA20 does still run on RVA22 CPUs. but software built for RVA22 does not (directly, trapping and emulating is possible) run on the older RVA20 CPUs, as they lack the necessary instructions.

This is not unlike e.g.: x86-64v3 vs x86-64v2.

It is only in situations where the implementation is very small and vendor has full control of both the software and the hardware stack that the vendor might benefit from implementing exactly what they want.

CPUs and software stacks for servers, workstations, laptops, smartphones, tablets and such simply stick to profiles.

Windows and Android are expected to require RVA22+V, possibly RVA23, as the baseline.

Re: GCC 14.1

#54
post #9

Earlier quoted context omitted.

I didn't realize RISC-V already has so many extensions. I just briefly looked over them and apparently they are often just small parts which get grouped up into larger extensions, but I hope the extension "mess" won't kill risc-v in the end. Still very excited about RISC-V progress

You may like ... https://research.redhat.com/blog/article/risc-v-extensions-w... I don't think extensions are a "mess", certainly they're much less of a mess than x86 (a low bar, I know ...)

Good article, although not up to date with happenings within RVI.

Most remarkable is the mention of issues around C. This got extensive discussion. It turned out only Qualcomm has issues, and the rest of companies with large scale implementations are happy with C.

It was proven in these discussions that the issues Qualcomm brought up are specific to their implementation largely reusing the ARM core they obtained from Nuvia acquisition, and easy to avoid with a clean board implementation.

The board ultimately ruled against Qualcomm's proposal[0], and the world moved on. Note that every purchasable chip out there supports C, and this is unlikely to change.

0. https://news.ycombinator.com/item?id=38230463

Re: GCC 14.1

#55
post #51

Is Ada being used in the industry? Looks actually quite fun to play with from changelog additions. I didn’t realise it’s still under active development.

Yes. People usually are surprised that NVIDIA is using it : https://www.adacore.com/nvidia Ada is assumed to be dead by most US-centric programmers, but is alive and used outside the US. Seems most of the action these days in Ada-land is in Europe.

Not surprisingly, VHDL is also mostly used by European companies.
Post reply on HN