Re:Tesla’s P85D Will Get Even Faster Thanks to a Software Up...
by drzaiusapelord on Friday January 30, 2015 @10:46AM
(#8972534)
I hate the idea that Apple or Google are examples of good embedded coding and their defect ratio is the best humanity can get. I don't understand how people think this way. Embedded development has a very different culture and lower tolerance of faults than general development and ESPECIALLY mobile development which is a nightmarish show of amateur hour.
I have no idea how Tesla does this, but in most cases you're deal with deterministic software or real time OS's, massive testing suites, coding guidelines that guarantee positive outcomes, etc.
JPL published its guidelines. Do you think Google and Apple are this stringent with their mobile toys? Of course not. They have zero economic interest to do so. They just have to make things good enough that kids and housewives won't complain too much.
I have no idea how Tesla does this, but in most cases you're deal with deterministic software or real time OS's, massive testing suites, coding guidelines that guarantee positive outcomes, etc.
JPL published its guidelines. Do you think Google and Apple are this stringent with their mobile toys? Of course not. They have zero economic interest to do so. They just have to make things good enough that kids and housewives won't complain too much.
http://spinroot.com/gerard/pdf/P10.pdf
or more specific to autos
http://en.wikipedia.org/wiki/MISRA_C
Mistakes will always happen, but Apple or Google are not good examples of what well written software is.