7 Minutes of Terror with 500.000 lines of Code.
- utopiomania
- Addict

- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
Re: 7 Minutes of Terror with 500.000 lines of Code.
Congratulations to NASA, it landed as planned. Another fanrtastic achievement.

Re: 7 Minutes of Terror with 500.000 lines of Code.
Not limited Hardware - hardened hardware, the environment (radiation / solar flares) messes up higher density chips running at higher clock speedsluis wrote:As spikey said AFAIK they use vxWorks and C (at least in some past missions, don't know about this one).
Probably part of the reason is the hw is quite limited compared to the everyday PC.
http://en.wikipedia.org/wiki/Comparison ... ars_rovers
Ta - N
Re: 7 Minutes of Terror with 500.000 lines of Code.
high level languages and frameworks introduce bugs, dependencies and unoptimised code. The only reason for Frameworks is to hide complexity, NASA don't want to hide the complexity - they want to know exactly what is happening, using frameworks would potentially add 1000,000's of lines of supporting codeZach wrote:...I realize moving up to higher level languages and frameworks, and pre-packaged modules and such makes it a lot easier to code and all that, but still...
it just wouldn't survive the launch / space / mars entry - all those CPU transistors and memory would be full of holesZach wrote:Seems like they might as well have just slapped an i7, 16GB of ram, and a GPU in there and called it a day.
[quote="Zach]I hope they at least did some optimizations somewhere or other..
500,000 seems like a big number to me.. I know complex programs can be several million lines, but I don't think I've seen anyone post here about a program nearing even 500k lines.[/quote]
The 500k lines of code which probably includes a bunch of assembler at 1 instruction per line
Ta - N
Re: 7 Minutes of Terror with 500.000 lines of Code.
Yes, limited hardware, as I said compared to the average everyday PC. Less powerful cpu, slower clocks, less ram, etc.naw wrote: Not limited Hardware
The reasons were obvious.
"Have you tried turning it off and on again ?"
