Linked by Thom Holwerda on Wed 4th Jun 2008 09:14 UTC, submitted by fairynomo
General Development Computerworld is undertaking a series of investigations into the most widely-used programming languages. Previously they have spoken to Alfred v. Aho of AWK fame, and Chet Ramey about his experience maintaining Bash. In this article, they chat with S. Tucker Taft, Chairman and CTO of SofCheck. Taft has been heavily involved in the Ada 1995 and 2005 revisions, and still works with the language today as both a designer and user. Computerworld spoke to Taft to learn more about the development and maintenance of Ada.
Thread beginning with comment 317322
To read all comments associated with this story, please click here.
Practical experience ... poor compilers
by bnolsen on Fri 6th Jun 2008 04:49 UTC
bnolsen
Member since:
2006-01-06

Not my experience, but someone else's from a discussion I had at one point with a Boeing employee. For some reason they had a problem in ada95 which they ported over to c++. Likely on the Sun platform. He was talking about how some of the critical performance areas saw speedups factor of 10x.

At those levels its definitely the quality of compiler used. When was working on an Ada compiler a "sexy" thing to do?

Reply Score: 2

krreagan Member since:
2008-04-08

A couple of years ago I profiled the GreenHills Ada95/C-C++ compiler. When you turn off run-time checking in Ada (esentually making it generate C/C++ like machine code) the performance difference was only ~3-4% (PPC 603e/vxWorks) overall and in some code the Ada was actually faster (Array manipulation). The benefit of Ada with RT checking off is that you still get all the compile-time checks that you don't get with C/C++.

There are very good compilers on the market these days, they are not cheep (except for gnat).

The issue with Ada compilers is that the compiler must do a lot more work on the source then most other compilers so they are much more difficult to write. Once that is done however, certain aspects of optimizing become much easier due to the checking that is done during compiling that is then not needed during run-time.

It is well known that the earlier you catch a bug in the application the cheaper it is to fix.
By having a strong compiler/language, most semantic based bugs are eliminated at compile time. The strong typing helps with some logic bugs. These are things that Ada is very good at.

Krreagan

Reply Parent Score: 1