Re:Curiosity was built with 2.5 million lines of C
by sgrove on Tuesday August 07, 2012 @12:37AM
(#4348744)
I feel this is an interesting story to read alongside the OP: http://www.flownet.com/gat/jpl-lisp.html
[ Parent
| on HN ]
Re:Curiosity was built with 2.5 million lines of C
by eliben on Tuesday August 07, 2012 @02:38AM
(#4348999)
There will always be someone lamenting that language X (insert Lisp, Smalltalk, Haskell or anything else here) is not being used instead of the horribly terribly utterly broken C, C++ or Java (yes, I'm being sarcastic). But in the end, pragmatic concerns win. Nobody works in vacuum, even if they really want to.
I'm a big fan of functional and otherwise dynamic language, but if I had to write my own Mars-landing controller, I would use C. No doubt there.
Re:Curiosity was built with 2.5 million lines of C
by bitcracker on Tuesday August 07, 2012 @07:06AM
(#4349511)
> if I had to write my own Mars-landing controller, I would use C. No doubt there.
C is a good choice for code generation, as a replacement for Assembler. But I would never dare write mars landing code in C directly.
I guess the curiosity team used several languages destined for a 100% verified C compiler for a well defined subset of C.
Re:Curiosity was built with 2.5 million lines of C
by vonmoltke on Tuesday August 07, 2012 @09:05AM
(#4349858)
But I would never dare write mars landing code in C directly.
Why not? I used to write code for airborne radars directly in C, so I may have a different perspective.
Re:Curiosity was built with 2.5 million lines of C
by roma1n on Tuesday August 07, 2012 @06:30AM
(#4349454)
I wouldn't. I would go with spark ada. No doubt C has better tooling, though.
Re:Curiosity was built with 2.5 million lines of C
by eliben on Tuesday August 07, 2012 @07:45AM
(#4349608)
The problem with Ada is not only the lack of tooling (although it's a huge problem - relatively to C, the tooling is scarce and horrible), it's also the people that know the language. I prefer C code written by a good programmer than Ada code written by a poor programmer any day, and finding good C programmers is much easier than finding good Ada programmers.
Re:Curiosity was built with 2.5 million lines of C
by gtani on Tuesday August 07, 2012 @12:40PM
(#4350879)
Detailed account of using Spark and PVS theorem prover in such an app
http://www.cs.virginia.edu/~jck/publications/Xiang.Yin.disse...