Hacker News new | past | comments | ask | show | jobs | submit login

Is there any coding standards like in aviation (DO-178) for cars?



I don't know too much about vehicle side of things but my understanding is the following:

MISRA is not on the same level as DO-178. DO-178 covers a lot of ground, from testing, documentation, requirements, that sort of thing, and it's made by a government agency which enforces it during certification, where every single hardware and software component in the aircraft related to flight operations is certified individually. So you will actually have engineers from the FAA sit down and look at code coverage, how requirements are written, how they map to tests, see if the tests cover a lot of cases in your requirements, see if the code implements the requirements, that sort of thing.

MISRA on the other hand are treated like guidelines that car manufacturers generally want you to meet when you deliver them a vehicle component.

There is the Federal Motor Vehicle Safety Standards you have to meet on a vehicle as a whole, but I do not know if they have to prove that they meet the following during a formal certification process. http://www.nhtsa.gov/cars/rules/import/FMVSS/

So as far as I know, there's big approval process at the end for vehicles, while there's a formal certification process for all components in an aircraft, as well as a big approval process at the end for aircraft.

Someone please correct and fill in the blanks for the vehicle side of things.



Yes, MISRA, but it doesn't help if it isn't followed which seemed to be what was discovered when the Toyota code was examined.

And as there is no way to see the source or replicate the build process no one can easily tell if the guidelines have been followed.


More on the Toyota software issue:

https://news.ycombinator.com/item?id=9643204

Toyotas Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013) (safetyresearch.net)

http://www.safetyresearch.net/blog/articles/toyota-unintende...


The scope is not the same as DO-178 but the nearest would be the Function Safety norm ISO 26262.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: