PLOS2021: ISO-C became unusable for operating systems
1–10 of 100 posts
Re: PLOS2021: ISO-C became unusable for operating systems
#2Re: PLOS2021: ISO-C became unusable for operating systems
#3At least the warnings are getting a bit better for some of these.
Re: PLOS2021: ISO-C became unusable for operating systems
#4Re: PLOS2021: ISO-C became unusable for operating systems
#5Re: PLOS2021: ISO-C became unusable for operating systems
#6The fact that a compiler is allowed/encouraged to silently remove whole sections of code because of some obscure factoid is an amazing source of footguns. At least the warnings are getting a bit better for some of these.
Re: PLOS2021: ISO-C became unusable for operating systems
#7I think it's about time to abandon C language entirely.
Re: PLOS2021: ISO-C became unusable for operating systems
#8The actual title of the paper is "How ISO C became unusable for operating systems development". Is there a particular reason why the first and last words have been removed here?
The submitter may have left out "development" to fit the title in the character limit.
Re: PLOS2021: ISO-C became unusable for operating systems
#9The fact that a compiler is allowed/encouraged to silently remove whole sections of code because of some obscure factoid is an amazing source of footguns. At least the warnings are getting a bit better for some of these.
Absolutely, those optimisations should be opt-in, otherwise it's impossible to reason about the correctness of your code. At work we had to replace some arithmetic by inline assembly, as there was literally no other way of making the compiler generate the correct expression.
Re: PLOS2021: ISO-C became unusable for operating systems
#10The fact that a compiler is allowed/encouraged to silently remove whole sections of code because of some obscure factoid is an amazing source of footguns. At least the warnings are getting a bit better for some of these.
Absolutely, those optimisations should be opt-in, otherwise it's impossible to reason about the correctness of your code. At work we had to replace some arithmetic by inline assembly, as there was literally no other way of making the compiler generate the correct expression.