3 ms·
Futile exercise. Compilers should follow the standard, even if it is ugly or dated.
by IWeldMelons 3y ago
Futile exercise. Compilers should follow the standard, even if it is ugly or dated.
- pjmlp 3y agoThe current standard is C23.
- IWeldMelons 3y agoHave you actually read the article? They want to make the default behaviour to deviate from _all_ known standards.
- pjmlp 3y agoI have, are you sure you're up to date what standards actually say?
- JonChesterfield 3y agoThey do. That's what the whole -std=c99 flag asks for. You either tell the compiler what language the text files are supposed to contain or it takes a guess.
- IWeldMelons 3y agoHave you actually read the article? They want to make the default behaviour to deviate from _all_ known standards.
- uecker 3y agoI haven't read the article, but following this effort from the compiler side, I do not think this is the case. Also there is exactly one ISO C standard. Newer versions supersede older ones from a legal point of view. The current one is ISO C17 which will soon be replaced by ISO C23 (officially next year). Older C standards are historical documents and code targeting them is not conforming to ISO C. The C committee takes extreme care not to break existing code except for very good reasons. So code that can only be compiled assuming older versions of ISO C will likely use questionable constructs which were removed in later versions for good reasons.
- 3836293648 3y agoWhich standard? C has 6
- IWeldMelons 3y agoHave you actually read the article? They want to make the default behaviour to deviate from _all_ known standards.
- 3836293648 3y agoThe paywalled article?
- IWeldMelons 3y agoNot paywalled, I can freely access it.
- stockerta 3y agoIt is paywalled, its accessible only with a subscription.