[comp.lang.ada] Reply to: How Portable ?

WMORTENS@ESTEC.BITNET (12/22/86)

I have some sympathy for the 'resident skeptics' of E. Hauser, based
on an experience we had in 1985:

In 1985 ESA issued a research contract to evaluate the use of Ada
for space applications. The work consisted of redesigning a 5000
lines FORTRAN77 program to Ada. The program simulated the dynamics
and controls of the GIOTTO spacecraft.

After design and testing of the Ada version, the last workpackage of
the contract contained a study of the portability of the Ada code.
Since the Ada version was developed by Ada 'wizards' and the LRM etc.
gives high hopes for portability, we did not expect much trouble, and
allocated one full working day per compiler for testing.

The program was developed using the DG/Rolm Ada compiler, and was attempted
ported to SIX other VALIDATED compilers and two pre-release compilers.

     ********************************************
     *   NONE OF THE EIGHT ADA COMPILERS        *
     *   COULD COMPILE AND RUN THE PROGRAM |||| *
     ********************************************

The VALIDATED compilers tested were:
    DEC, DDC, ALS(1.6), Telesoft(2.1), Karlsruhe(1.3), Alsys
And the pre-releases :
    Gould/SEL, Alsys/Apollo.

The ONLY compiler, which could produce a running program after minor
modifications only, was the DEC compiler (the COUNT attribute of task
failed to increment, and math procedures were named differently).

ALL (ALL|) the others failed for all sorts of reasons, such as:
pure crash of the compilers, 'heap full' problems, missing essential
features (one compiler did e.g. not support instantiation of generic
packages, that contains task declarations). The problems were such that
major redesigns in order to work-around the problems would be required.
In NO case the problem could be identified as a design error in the
original Ada code (which was running without problems on the DG).

Conclusions ? --- I refrain from the obvious conclusions, and just
qoute what the compiler designers have been telling us over the years:
'A better Ada compiler will come out soon next year'

Uffe K. Mortensen,
The European Space Agence,  ESA/ESTEC.

mack@mlokai.dec.com (01/02/87)

In response to message received:  22 Dec 86 15:55:52 GMT