c++ vs ada results
Larry Carroll
larryc at porter.jpl.nasa.gov
Fri Jun 14 11:50:25 AEST 1991
In article <deleted> paul at u02.svl.cdc.com (Paul Kohlmiller) writes:
>Could you specify one or more machines that have an available Ada compiler
>that generates code that is as efficient as a C compiler for the same machine?
Ask instead what vendor supplies this. There are probably several; one of the
better ones come from Tartan, who also supply compilers for other languages.
The founders of Tartan included several of the people from Carnegie-Mellon
who pioneered optimization technology in the late 70's & early 80's, so that
shouldn't be surprising.
Further, Ada compilers can produce tighter & faster code than many older
languages because it contains constructs that give the compiler information
it needs to do optimization. This includes ranges, as in
type tiny_int is integer range 0..1;
whose data can be fit into one bit (if size were important) or byte or word
for some machines (where speed might depend on putting single-bit data on
a byte or word boundary).
More information about the Comp.sys.sgi
mailing list