Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

F22 Raptor: Source code crashes lead to problems in system software.
Strategypage ^ | April 2, 2004

Posted on 04/02/2004 8:48:06 PM PST by spetznaz

click here to read article


Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-8081-99 next last
To: spetznaz
OK Keeping the principle, but more like a warplane that might have been.


21 posted on 04/02/2004 9:44:19 PM PST by Oztrich Boy ("It is always tempting to impute unlikely virtues to the cute" - Reinstated Tagline)
[ Post Reply | Private Reply | To 17 | View Replies]

To: spetznaz
All source code ultimately gets compiled down to machine language, the binary code that actually runs when the program is loaded. It doesn't matter if the source is ADA, C, BASIC, Pascal, or COBOL, it all ends up as machine code.

I have been programming IBM 360 Assembler for 16 years. It's as close to machine language as you can get without actually writing the machine op codes. I imagine the machine language for the F-22 microprocessors could also be written in native Assembler.

But I suspect machine language programmers are harder to find than ADA programmers.

However, I DO know one with at least 16 years of experience ...

22 posted on 04/02/2004 9:53:46 PM PST by IronJack
[ Post Reply | Private Reply | To 1 | View Replies]

To: Spruce
Sounds like you folk ran into that nasty ISO-900x certification.

Probably not on this project. Yet.

I was part of the "coding wars" studies that formed the basis the "Peopleware". It was a fascinating project. That was in my PacBell days. The "Dilbert" books were written by a co-worker at PacBell. I read his work and laugh. The stuff is a parody of real people. The company insiders have a clue about the real people. The "outsiders" just get a hell of a good laugh at the shenanigans of "corporate climbers" inflicting the latest pop methodology on the company staff.

23 posted on 04/02/2004 9:56:25 PM PST by Myrddin
[ Post Reply | Private Reply | To 19 | View Replies]

To: spetznaz
Developing reliable, high-quality software, especially for a complex, hard real-time embedded system is massively labor intensive and very much depedent on the knowledge and skill of each of the software engineers. It's not too much of a generalization to say that one lousy developer can jepordize the reliability and reputation of an entire system.

I've been in this business for almost 20 years and hate to say that most developers write pretty poor quality code. I've had to throw away a lot of it, not because I couldn't understand it, but just the opposite. I knew all too well that it deviated so far from good software engineering practice that no amount of tweaking and patching would ever make it reliable or maintainable. In those cases, it usually made more sense to rewrite it. Of course, that's a much easier decision to make on a small project than something the size and scope of the F22 avionics code.






24 posted on 04/02/2004 9:57:32 PM PST by jrp
[ Post Reply | Private Reply | To 1 | View Replies]

To: spetznaz
When it absolutely without doubt has die today:

CALL THE F4 PHANTOM
25 posted on 04/02/2004 10:00:29 PM PST by cpdiii (Oil Field Trash, Geologist, Pharmacist (REFUSE TO ATTEND A GUNFIGHT WITH A CAL. LESS THAN FORTY))
[ Post Reply | Private Reply | To 17 | View Replies]

To: Oztrich Boy
LOL!!! That was the exact aircraft I had in mind when I read that line.

Æ
26 posted on 04/02/2004 10:03:26 PM PST by AgentEcho (If there are no dogs in Heaven, then when I die I want to go where they went. - Will Rogers)
[ Post Reply | Private Reply | To 15 | View Replies]

To: IronJack
Real time embedded stuff tends to be built on top of APIs such as PSOS or VRTX. That gives you the ability to have multiple "tasks" with hard real time and pre-emption. It doesn't make sense to keep reinventing that wheel each time. There is a place for writing assembler to manipulate device registers and performance of "atomic" operations such as "test and set" cells that guard a common resource.

Current high performance processors depend upon a pipelined execution queue. Optimized compilers can create better "pipeline" code than most "skilled" programmers in assembler. A pipeline stall created by a careless choice of operations will trash the execution performance on that kind of CPU.

27 posted on 04/02/2004 10:05:11 PM PST by Myrddin
[ Post Reply | Private Reply | To 22 | View Replies]

To: jrp
The challenge is when to re-write. I have always based this on a Kludge/code ratio. When Kludge gains a foothold and becomes the standard, you re-write. It would seem they have hit that wall.
28 posted on 04/02/2004 10:06:53 PM PST by Spruce (Never make excuses whether or not it is your fault.)
[ Post Reply | Private Reply | To 24 | View Replies]

To: spetznaz
I thought the DOD had decided to put the overpriced Raptor on the back-burner for now in favor of the Joint Strike Fighter?
29 posted on 04/02/2004 10:07:01 PM PST by Jorge
[ Post Reply | Private Reply | To 1 | View Replies]

To: jrp
I've been in this business for almost 20 years and hate to say that most developers write pretty poor quality code.

Funny, isn't it? It always seems to be the other guy who writes sh*tty code. I pity the poor soul who had to take over my code!

30 posted on 04/02/2004 10:09:27 PM PST by mikegi
[ Post Reply | Private Reply | To 24 | View Replies]

To: spetznaz
I have a long and boring answer. Not only can you not just pick up something off the shelf, but you have to take firmware versions into account, for one. The firmware inherent in a part needs to be compatible with the other parts' firmware and also needs to be able to run with the operating system of the particular weapons equipment. Then throw parts obsolescence into the mix...you know how computers are made to go faster every year...a system also needs to keep up with technology. The option is to use old parts, and that is no good due to shelf life. A part in the F22 system may not be made in two years, so you have to find a part (project that part) that will be made and do compatibility testing. All very boring, I know. Once the system is ready to be fielded, Test and Evaluation processes must be applied. This could take years, and all the while you're upgrading software and looking for compatible parts etc, etc. Even if it would be more cost effective to use off the shelf Software, one of the reasons it is extensively tested is because of the safety factor. There are whole entire groups of DoD civilians devoted to weapons safety. Used to be that this process would take a lot of years from conception to fielding; then Clinton's Secretary of Defense shortened the timeframe to help get the systems out to the field faster; Rumsfield has recommended and wants to implement even a faster approach. Sorry for my digression.
31 posted on 04/02/2004 10:11:34 PM PST by merry10
[ Post Reply | Private Reply | To 1 | View Replies]

To: Myrddin
Current high performance processors depend upon a pipelined execution queue. Optimized compilers can create better "pipeline" code than most "skilled" programmers in assembler. A pipeline stall created by a careless choice of operations will trash the execution performance on that kind of CPU.

Back in the old days it was easy to beat a compiler. Nowadays, it's much more difficult. Plus, CPUs are so fast that it makes no practical difference in most cases. However, there are a few applications where it still makes sense to use asm. For example, crunching large bitmaps. Compilers seem to have trouble with the nasty bit fiddling you do when crunching bitmaps.

32 posted on 04/02/2004 10:32:36 PM PST by mikegi
[ Post Reply | Private Reply | To 27 | View Replies]

To: mikegi
Today's CPUs can be absolute dogs with a bad compiler. The blazing fast execution is as much a consequence of an optimizing compiler as it is a "fast" CPU. It takes both in concert to achieve the speed.

I agree with respect to bit twiddling a complex bitmap. The "simple" stuff that can be accomplished with mapped bitfields inside a C struct is fine for most modern compilers. Unfortunately, you get compiler dependent implementations that don't port nicely.

33 posted on 04/02/2004 11:00:19 PM PST by Myrddin
[ Post Reply | Private Reply | To 32 | View Replies]

To: HamiltonJay
I must admit that I am fairley ignorant as info goes on code writting process.
However...am aware from other science applications..especially the field of Feild/Harmonics..shielding to contain energy..where the threshold is processor speed and tasking reaction code/software..as they try..and try is the key here..for the processor speeds needed are phenominal to keep feild harmonics from collapsing..
in this field of endeavour..they are achieving amazing things with computers.
if a system is to be productive for the future..and flexible to the new abilities that are soon to come...ie..Mag rail launch...Scramjet engines..etc.
then it makes sense to go for code writers who are working with these new technologies..and dump the old ways.
I imagine DARPA...JPL/NASA are the guys to get on the team..allong with the techs who are writing code for these new science systems.
raise the bar..put something in that aircraft that will make it workable for future mods ...tasking...and interface
34 posted on 04/02/2004 11:18:20 PM PST by Light Speed
[ Post Reply | Private Reply | To 5 | View Replies]

To: IronJack
I have been programming IBM 360 Assembler for 16 years.

I was fascinated, IronJack, to learn 360 BAL is still in use. It must have some legs since I was programming in that over 30 years ago.
35 posted on 04/03/2004 12:13:11 AM PST by pt17
[ Post Reply | Private Reply | To 22 | View Replies]

To: IronJack
IronJack, you're rather behind the times. S/360 went out of date many years ago. We're past S/370 and on to S/390 and even Z/OS now.

Z/OS, the 64 bit MAINFRAME Operating System.

Windows is a joke.

Regards.
36 posted on 04/03/2004 12:15:13 AM PST by X_CDN_EH
[ Post Reply | Private Reply | To 22 | View Replies]

To: spetznaz
Let's see now... The F16 flies, So does the F117 & the shuttle And a number of other experimental aircraft that are aerodynamically unstable. And can not fly without the use of a computer.
The software for this has already been written and works. It's a known.
Could it be that they FIRED there old engineers and programmers. And are using youngsters without some of the old fart's guidance and experience? Just so CEO's can line there pockets. With a little of good old PC. To round everything off.
37 posted on 04/03/2004 12:39:23 AM PST by quietolong (use html one place you need to use it everywere)
[ Post Reply | Private Reply | To 1 | View Replies]

To: spetznaz
Sounds like someone needs to send a copy of Steve McConnell's Rapid Development to each project manager & analyst over there.
38 posted on 04/03/2004 12:49:07 AM PST by jennyp (http://crevo.bestmessageboard.com)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Filibuster_60
Gig you know that they are chucking ADA for C++ on the Future combat system?
39 posted on 04/03/2004 2:01:12 AM PST by CasearianDaoist
[ Post Reply | Private Reply | To 10 | View Replies]

To: CasearianDaoist
Gig=did; Also there are ADA/C++ cross compilers. I know some of the people on the F22. It is going well this is just the usual caring. They are just rolling out the production bugs, the problems are mostly on the targeting acquisition system and some avionics integration issues, this process started less them 3 years ago. The "image" (as in radar) recognition system is having some problems. This is not unusual. The software architecture is wonderful and the avionics world is plenty of good ADA people, It is not a very hard language to learn, Real time concepts applied ot avionic is what is difficult. These isyems have there own Air Force/vendor "operationg systems" (perhaps morw aptly called "operating environments") it is unclear how whiching to another language is helpful

There is a real anti-f22 lobby, and it seems to originate in the Democrat party, at least in the US. The f22 is revolutionary and gives us an amazing edge over any other Air Force. Some people really do not want this. It will be fine if the program is allowed to go ahead.

40 posted on 04/03/2004 2:17:01 AM PST by CasearianDaoist
[ Post Reply | Private Reply | To 39 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-8081-99 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson