News for hackers. Stuff that matters.
Re:PLOS2021: ISO-C became unusable for operating systems by userbinator on Wednesday October 06, 2021 @08:19PM (#28780162)
The reason why GCC and LLVM ended up attaining overwhelming market is simply that they produce the fastest possible code

No, I think it's more because they are free.

In my experience, ICC can be much better at instruction selection while also not being so crazy with exploiting UB.

Re:PLOS2021: ISO-C became unusable for operating systems by pcwalton on Wednesday October 06, 2021 @08:22PM (#28780186)
I'm also skeptical about the often-claimed superiority of ICC. The numbers I've seen are very equivocal.

Besides, it's irrelevant: there are lots of free C compilers that don't exploit UB, and also rarely get used.

Re:PLOS2021: ISO-C became unusable for operating systems by rurban on Thursday October 07, 2021 @04:48AM (#28783769)
Lots? None are usable to replace our current insane compilers, removing code without warnings.

None of pgcc, sdcc, tcc, lcc and friends work with current code bases, plus they have severe bugs.

Re:PLOS2021: ISO-C became unusable for operating systems by Someone on Thursday October 07, 2021 @03:19AM (#28783232)
ICC nowadays is based on LLVM (https://software.intel.com/content/www/us/en/develop/blogs/a...).

That might mean the differences have mostly disappeared, but that may depend on what the front end (icx vs clang) does.

Re:PLOS2021: ISO-C became unusable for operating systems by gHosts on Wednesday October 06, 2021 @10:32PM (#28781145)
They also support the widest range of CPU's
Re:PLOS2021: ISO-C became unusable for operating systems by vyodaiken on Wednesday October 06, 2021 @08:44PM (#28780351)
It is because they are "free" and also because they attract massive investment from FAANG and National Labs etc.
Re:PLOS2021: ISO-C became unusable for operating systems by Arnt on Thursday October 07, 2021 @03:44AM (#28783353)
Uh, massive investment? The commit logs reveals how many people work on them, and while it's massive compared to single-pizza teams I've worked in buildings where all of them could get a desk each.