高可靠性/可用性/安全性的编码 - 我读什么标准? [英] Coding for high reliability/availability/security - what standards do I read?
本文介绍了高可靠性/可用性/安全性的编码 - 我读什么标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我听说汽车行业有一个名为MISRA C的东西。
I've heard that the automotive industry has something called MISRA C.
其他高可靠性/可用性/安全行业的相关标准,例如
What are the relevant standards for other high reliability/availability/security industries, such as
- 空间
- 飞机
- li>
- 汽车
- 医疗
- 国防/军事
- Space
- Aircraft
- Banking/financial
- Automotive
- Medical
- Defense/Military
- ???
-Adam
推荐答案
查看Goddard太空飞行中心及其编码标准。我在自己的代码中采用的C标准之一是标头必须是自包含的,并且它们提供了一种简单的方法来强制执行 - 模块的头必须是模块中包含的第一个文件,因此如果文件不是自包含的,它将无法编译。
Check out the Goddard Space Flight Center and its coding standards. One of the C standards, which I've adopted in my own code, is that headers must be self-contained, and they provide a simple way to enforce that -- a module's header must be the first file included in the module, so if the file is not self-contained, it won't compile.
这篇关于高可靠性/可用性/安全性的编码 - 我读什么标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文