comp.lang.ada
 help / color / mirror / Atom feed
From: ok@goanna.cs.rmit.edu.au (Richard A. O'Keefe)
Subject: Re: ada -> C translator
Date: 1997/04/08
Date: 1997-04-08T00:00:00+00:00	[thread overview]
Message-ID: <5icuf7$4k1$1@goanna.cs.rmit.edu.au> (raw)
In-Reply-To: dewar.860415922@merv


dewar@merv.cs.nyu.edu (Robert Dewar) writes:
>I perfectly understand why someone who does not know much about compilers
>would try to maintain, as Fergus does, a view that portable C is portable
>C and that should be that, but I am afraid that this viewpoint is plain
>wrong when applied at this level!

As Fergus has pointed out, only a bit more modestly, he actually knows
quite a lot about compilers, and is currently _working_ on a delivered
compiler for a rather interesting language, which compiler generates C.
The Mercury group want the best performance they can get out of the
code they generate, which means they are interested in code that adapts
to the target appropriately.  The possible point of difference here is
that Mercury programmers expect the *same* semantics for their programs
whenever possible; if I compile a Mercury program on UNIX machine X and
get one set of results, I expect the _same_ results on UNIX machine Y.

Nor has Fergus said that "portable C is portable C and that is that".
His claim, as I understood it, was that one can translate a source
program that is intended to be portable to C that can adapt to particular
targets but is usable on many.  Talking about interfacing to COBOL misses
_his_ point, because in that case the source program isn't _intended_ to
be portable (the porting target might not _have_ a COBOL compiler).


-- 
Will maintain COBOL for money.
Richard A. O'Keefe; http://www.cs.rmit.edu.au/%7Eok; RMIT Comp.Sci.




  reply	other threads:[~1997-04-08  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-03  0:00 ada -> C translator Gabriel Monaton
1997-04-03  0:00 ` Robert A Duff
1997-04-03  0:00   ` Robert Dewar
1997-04-03  0:00     ` Robert Dewar
1997-04-04  0:00     ` Fergus Henderson
1997-04-04  0:00       ` Robert Dewar
1997-04-05  0:00         ` Fergus Henderson
1997-04-06  0:00           ` Robert Dewar
1997-04-07  0:00             ` Fergus Henderson
1997-04-07  0:00               ` Robert Dewar
1997-04-08  0:00                 ` Richard A. O'Keefe [this message]
1997-04-08  0:00                   ` William Clodius
1997-04-09  0:00                     ` Fergus Henderson
1997-04-08  0:00                   ` Robert Dewar
1997-04-08  0:00                 ` Fergus Henderson
1997-04-08  0:00                   ` Robert Dewar
1997-04-08  0:00                     ` William Clodius
1997-04-09  0:00                     ` Fergus Henderson
1997-04-09  0:00                       ` Robert Dewar
1997-04-09  0:00                         ` Fergus Henderson
1997-04-09  0:00                           ` Robert Dewar
1997-04-10  0:00                             ` Fergus Henderson
1997-04-09  0:00                       ` William Clodius
1997-04-04  0:00       ` Richard Kenner
1997-04-05  0:00         ` Fergus Henderson
1997-04-04  0:00     ` Larry Kilgallen
1997-04-04  0:00       ` Robert Dewar
1997-04-05  0:00         ` Larry Kilgallen
1997-04-06  0:00           ` Robert Dewar
     [not found] ` <lvlo6iwws8.fsf@sulu.fl.ensco.com>
1997-04-17  0:00   ` Lance Kibblewhite
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox