Xref: utzoo comp.sys.sgi:10677 comp.graphics:18592 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!jpl-devvax!porter!larryc From: larryc@porter.jpl.nasa.gov (Larry Carroll) Newsgroups: comp.sys.sgi,comp.graphics Subject: Re: c++ vs ada results Message-ID: <1991Jun14.015025.18682@jpl-devvax.jpl.nasa.gov> Date: 14 Jun 91 01:50:25 GMT Sender: usenet@jpl-devvax.jpl.nasa.gov (For NNTP so rrn will be able to post) Organization: Jet Propulsion Lab, AEG/FIST Lines: 17 Nntp-Posting-Host: porter In article paul@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).