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.

Resources about programming practices for writing safety-critical software

208 pointsby AlexDenisovabout 8 years ago

11 comments

ctzabout 8 years ago
The obsession with C&#x2F;C++ here is really weird. Like, take the MCO failure. That&#x27;s a classic, textbook problem that can be structurally guaranteed not to happen with use of even a basic type system. It should be literally impossible to confuse values of different types&#x2F;units&#x2F;dimensions like this in something described as &quot;safety-critical&quot;.<p>It seems like all the resources here are concerned with trying to whittle C&#x2F;C++ into an appropriate choice of tool, rather than choosing a different tool. It seems like a 1980s-1990s mindset.
评论 #13807345 未加载
评论 #13807276 未加载
评论 #13806994 未加载
评论 #13807005 未加载
评论 #13808448 未加载
评论 #13806824 未加载
Jtsummersabout 8 years ago
I don&#x27;t have all my resources on hand right now, but off the top of my head this book should be added:<p><a href="https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;engineering-safer-world" rel="nofollow">https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;books&#x2F;engineering-safer-world</a><p>This list is barely scratching the surface of safety-critical system engineering, but it&#x27;s a start.
评论 #13808095 未加载
评论 #13808731 未加载
评论 #13806082 未加载
swahabout 8 years ago
Other than the latest MISRA, I really enjoyed &quot;Better Embedded System Software&quot; by Phil Koopman.<p>Ideally you should read it before starting your project, since it deal with the product specification&#x2F;gathering requirements phase, which is your starting point in safety critical systems.<p>[1] <a href="https:&#x2F;&#x2F;betterembsw.blogspot.com.br&#x2F;2010&#x2F;05&#x2F;test-post.html" rel="nofollow">https:&#x2F;&#x2F;betterembsw.blogspot.com.br&#x2F;2010&#x2F;05&#x2F;test-post.html</a>
phelmigabout 8 years ago
Does anyone know how software quality is handled in complex supply chains, e.g. automotive? From my point of view software is a 2nd grade citizen in areas dominated by manufacturing and classical engineering.<p>I guess testing an over-the-update for a car that was build by ann OEM and thousands of suppliers must be quite a task.
评论 #13807460 未加载
评论 #13809369 未加载
评论 #13808940 未加载
yeslibertarianabout 8 years ago
hopefully in a future not so far away, most safety-critical code will be formally verified, like <a href="http:&#x2F;&#x2F;sel4.systems&#x2F;" rel="nofollow">http:&#x2F;&#x2F;sel4.systems&#x2F;</a> for example
评论 #13809130 未加载
danalivabout 8 years ago
DO-178B has been replaced by DO-178C.
mrlycabout 8 years ago
In addition to MISRA, I&#x27;ve found the safety checklist in Lutz&#x27;s &quot;Targeting Safety-Related Errors During Software Requirements Analysis&quot; at <a href="https:&#x2F;&#x2F;trs.jpl.nasa.gov&#x2F;bitstream&#x2F;handle&#x2F;2014&#x2F;35179&#x2F;93-0749.pdf" rel="nofollow">https:&#x2F;&#x2F;trs.jpl.nasa.gov&#x2F;bitstream&#x2F;handle&#x2F;2014&#x2F;35179&#x2F;93-0749...</a> to be very useful.
RaiOabout 8 years ago
Is there anything like this that specifically addresses reliability in a critical (but not &quot;safety-critical&quot;) system?
评论 #13806247 未加载
评论 #13809886 未加载
partycoderabout 8 years ago
I have read the JSF standard. I learned a lot from reading it.<p>However, the JSF project has been reported to have lots of software defects.
评论 #13807720 未加载
评论 #13807502 未加载
watwutabout 8 years ago
That is awesome, thank you.
throwme_1980about 8 years ago
c++ is not considered safe for any RTOS system, in fact you won&#x27;t find it used in Aviation embedded devices (referring to the big 3 ) Tools yes, you can higher level languages to your heart&#x27;s content.
评论 #13807498 未加载
评论 #13810167 未加载