TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Comments on the MISRA C coding guidelines (2012)

45 pointsby cvs268over 7 years ago

5 comments

0xcde4c3dbover 7 years ago
&gt; Some rules have their basis in psychological findings, i.e. how developers read the source. Such issues are not important in machine generated code (because such code is never read by humans).<p>I wish. Sometimes code generators are also bug generators.
legulereover 7 years ago
&gt; Software developers working in countries whose keyboards do not offer all of the characters required to write C programs will require special equipment, or to break this rule.<p>I&#x27;ve never seen C code actually using trigraphs. The way I heard it, is that different charactersets in the 70s didn&#x27;t contain all characters for C. This was not a problem in 2012 and not even in 2002 or even 1992 I think.
评论 #15501393 未加载
评论 #15494300 未加载
notlobover 7 years ago
N.B., the MISRA guidelines for C were revised in 2012. This critique is directed at an older publication.
AnimalMuppetover 7 years ago
&gt; Rule 6: This rule excludes the use of an EBCDIC character set. No use of IBM 370&#x27;s in embedded systems.<p>Yeah... um... I wasn&#x27;t really intending to use a 370 anyway, but thanks for pointing it out.
评论 #15492658 未加载
NinoScriptover 7 years ago
(Last modified 10 October 2012)