From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9adfbb907494972e X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,9adfbb907494972e X-Google-Attributes: gid1014db,public From: ok@goanna.cs.rmit.edu.au (Richard A. O'Keefe) Subject: Re: Ada to C/C++ translator needed Date: 1996/09/30 Message-ID: <52o1ve$gra@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 186195324 references: <32499FA0.4B5E@magic.fr> <52e5t5$m28@btmpjg.god.bel.alcatel.be> <52feul$os2@goanna.cs.rmit.edu.au> <01bbad6e$67743f20$32ee6fcf@timhome2> organization: Comp Sci, RMIT, Melbourne, Australia newsgroups: comp.lang.c,comp.lang.ada nntp-posting-user: ok Date: 1996-09-30T00:00:00+00:00 List-Id: "Tim Behrendsen" writes: >I hope you're not suggesting that comparing compilers on one >system with one program tells you *anything* about the relative >merits of languages ... Of course I am. Have you no logic in you at all, man? Here's what it tells me: not (forall X: Problem forall S: System forall A: Ada_Compiler forall C: C_Compiler runs_on(A, S) & runs_on(C, S) => slower(code(X, A), code(X, C)) ) If an expensive optimising C compiler (developed for a specific machine, with *intimate* knowledge of that machine) can't beat a free Ada compiler which runs on a wide range of machines, when given idiomatic code for a fairly straightfoward program, what would _you_ conclude? *Every* time I have bothered to write the same thing in Ada and C, I have obtained the same results on this machine. There isn't anything about the SPARC that should tip the balance in favour of Ada. Quite the reverse, in fact. -- Australian citizen since 14 August 1996. *Now* I can vote the xxxs out! Richard A. O'Keefe; http://www.cs.rmit.edu.au/%7Eok; RMIT Comp.Sci.