Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!trwacs!erwin From: erwin@trwacs.UUCP (Harry Erwin) Newsgroups: comp.sys.sgi Subject: Re: c++ vs ada results Message-ID: <305@trwacs.UUCP> Date: 14 Jun 91 12:16:12 GMT References: <1991Jun12.164741.412@news.larc.nasa.gov> <1991Jun12.201740.16463@netcom.COM> <34128@shamash.cdc.com> Organization: TRW Systems Division, Fairfax VA Lines: 25 paul@u02.svl.cdc.com (Paul Kohlmiller) writes: >jls@netcom.COM (Jim Showalter) writes: >>As with the "too many features" shibboleth, this common myth doesn't >>hold up under even rudimentary analysis of the facts. There are >>compilers available for a number of targets that produce code at >>least as dense and efficient as C/C++ compilers for the same target. >Jim, > 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? >thnx >Paul Kohlmiller Our experience is that an Ada compiler generates almost twice as many machine instructions per executable statement as a C compiler. This has nothing to do with the underlying efficiency of the compiler and everything to do with the bells and whistles associated with the language. Harry Erwin erwin@trwacs.fp.trw.com -- Harry Erwin Internet: erwin@trwacs.fp.trw.com