Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: mbk%anl433.uucp@Germany.EU.net (Matt Kennel)
Subject: Re: ANDF - some information
Date: 8 Dec 1993 20:48:02 GMT	[thread overview]
Message-ID: <2e5ei2INNqa7@network.ucsd.edu> (raw)
In-Reply-To: yostCHLst5.KoA@netcom.com

Dave Yost (Dave@Yost.COM) wrote:
: In article <2dlmdu$iaf@paperboy.osf.org> sp@canal.osf.org (Simon Patience) writes:
: >In article <2dl2qs$6ks@schonberg.cs.nyu.edu>, dewar@cs.nyu.edu (Robert Dewar) writes:
: >> Of course from one point of view, ANDF technology is completely redundant,
: >> since we already have the necessary technology: C as the distribution medium
: >> and C compilers as the installers.
: >
: >ANDF however is not limited to the C language.
: >
: >You could always replace these N (1 per language) shrouds (which require an
: >unshrouder and N compilers on the target machines) with one ANDF installer
: >on each target machine and N producers (1 per language) on one source machine.

: One nice side effect if ANDF succeeds might be that it could
: ease the stranglehold of C and C++.

: In other words, if ANDF makes a wonderful new standard
: intermediate language come into being with great code
: generators for all platforms, then a creator of an
: alternative languages could make their language instantly
: available on all platforms.  This would make it much easier
: for a non-C/C++ language to be taken seriously and used
: without many of the worries currently attending alternative
: languages.

Is it true that there is *one* ANDF output generator per target machine---
independent of source language?

I find this hard to believe because I can't imagine any single represenation
being good for all sorts of diverse languages---go beyond just C/C++ and
Fortran77.  What about Ada?  Fortran/Ada 9x? What about Eiffel?  What about
Lisp?  What about ML?  What about Maple? Matlab?  Can a single semantic model
really do all these justice?  

Does ANDF actually try this?  Or are there separate "C"/"Fortran"/"Ada"
/language dependent generators?  generators?  If it's the first, then I
suspect it will end up being good only for C and Fortran and similar
derivatives, and would only entrench C and C++.

If it's the second, then where's the gain?  You have separate output programs
for C-Alpha, C-Sparc, Eiffel-HP, Ada-RS6000, C++-Intel, et cetera just like
now.

The only difference is that different people are independently writing the
front end and the back end.  Is this a good idea?  (Compiler vendor:"Well
our compiler works with V2.1.4 of the ANDF/C/Sparc back end but when they
upgraded it to 2.2.1 it doesn't work any more, but it's not *our* fault,
we're following the rules.  We have an internal hack that makes it work on
Sparc V.2.2.1, but that breaks the code generator for HP's under HPUX 12.14,
because they're still on ANDF/C/HP 2.0.7."  ANDF: "The change was done to
implement an optimization for Vendor XYZ on the Intel Sexium; your Vendor is
making unwarranted assumptions about the Sparc that aren't valid on
segmented architectures, even though they improve performance on Sparcs."
Compiler Vendor: "Why should ANDF/Sparc semantics change for Intel's
benefit?"  ANDF: "We want to maintain a single ANDF/C source tree." User:
"But I don't have an Intel!  I have a Sparc and I want my compiler to work,
dammit!" )  Am I being too cynical? :-)

What happens when the front-end writer wants to transmit more semantic
information than before (to improve optimization) but the ANDF/C spec
doesn't admit such a notion?

Honestly, I'm confused.  What exactly does ANDF do?  How does it solve the
above problems?

: (For those of you new to this cross-posted thread, there is
: an interesting long posting on the status of ANDF on
: comp.unix.osf.misc.)

: -- 
:   Dave Yost
:       @    .COM

--
-Matt Kennel  		mbk@inls1.ucsd.edu
-Institute for Nonlinear Science, University of California, San Diego
-*** AD: Archive for nonlinear dynamics papers & programs: FTP to
-***     lyapunov.ucsd.edu, username "anonymous".


  parent reply	other threads:[~1993-12-08 20:48 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-01 10:24 ANDF - some information John Maccallum
1993-12-01 14:17 ` Rick Richardson
1993-12-02  7:22   ` Harro Kremer
1993-12-02 13:01     ` John Maccallum
1993-12-02 13:48     ` Donald Lewine
1993-12-02 15:49       ` Robert Dewar
1993-12-02 21:24         ` Simon Patience
1993-12-06  7:58           ` Dave Yost
1993-12-07 16:38             ` Stavros Macrakis
1993-12-07 22:24               ` Robert Dewar
1993-12-08  4:35                 ` Ed McClanahan
1993-12-08 10:15                   ` Richard Kenner
1993-12-08 15:47                 ` Piercarlo Grandi
1993-12-09  3:57                   ` Mark H. Johnson
1993-12-09  9:41                     ` Todd P. Whitesel
1993-12-09 14:23                       ` Robert Dewar
1993-12-09 16:09                         ` Thatcher Ulrich
1993-12-10 18:02                       ` Jan Vorbrueggen
1993-12-12 10:57                       ` Todd P. Whitesel
1993-12-13 15:09                         ` Bill Kindel
1993-12-16  5:20                       ` translation of x86 binary to native Dave Yost
1993-12-16 14:58                         ` yoder
1993-12-16 17:46                           ` Arthur Chance
1993-12-17 14:07                             ` yoder
1993-12-16 21:45                           ` Leo Broukhis
1993-12-16 16:59                         ` John R Levine
1993-12-09 17:11                     ` ANDF - some information Piercarlo Grandi
1993-12-08 16:03                 ` John R Levine
1993-12-08 23:24                   ` Robert Dewar
1993-12-09  8:41               ` Rick Richardson
1993-12-10 13:09                 ` Stefan Monnier
1993-12-10 14:08                   ` James Larus
1993-12-10 15:55                     ` Bruce Stephens
1993-12-10 20:08                   ` Hans Boehm
1993-12-12 19:38                     ` Lawrence G. Mayka
1993-12-13 20:01                       ` ANDF - some information (GC really) Hans Boehm
1993-12-11 16:44                   ` ANDF - some information Robert Dewar
1993-12-13 19:16                     ` Hans Boehm
1993-12-08 20:48             ` Matt Kennel [this message]
1993-12-09 12:24               ` Torben AEgidius Mogensen
1993-12-10  1:23                 ` Larry Meadows
1993-12-10 11:42                   ` Bruce Stephens
1993-12-08 11:23           ` Ronald F. Guilmette
1993-12-08 17:05             ` Simon Patience
1993-12-09 12:33               ` John Krueger
1993-12-08 10:56         ` ANDF - some (mis)information Ronald F. Guilmette
1993-12-08 19:43           ` Donald Lindsay
1993-12-09 19:20             ` Hans Boehm
1993-12-08 20:56           ` Steven Correll
1993-12-09  2:32             ` John R. Mashey
1993-12-10  2:43               ` Keith Smith
1993-12-10 16:23                 ` Torben AEgidius Mogensen
1993-12-10 20:20             ` peter da silva
1993-12-15 15:46               ` Mathew Lodge
1993-12-21 16:30                 ` <ui.h> wanted Jeff Wang
1993-12-14 19:30           ` ANDF - some (mis)information Matt Kennel
1993-12-14 20:11             ` Dave Griffith
1993-12-14 22:38               ` Hans Boehm
1993-12-15 12:10             ` Torben AEgidius Mogensen
1993-12-15 18:12               ` Hans Boehm
1993-12-16 14:36                 ` Michael Spertus
1993-12-21 23:46             ` Michael R Castle
1993-12-02 16:47       ` ANDF - some information Rodger Lea
1993-12-02 21:27         ` Simon Patience
1993-12-06  8:03 ` Dave Yost
1993-12-08 10:45 ` Ronald F. Guilmette
1993-12-10 16:49   ` peter da silva
1993-12-12  3:11     ` Dave Griffith
read-only archive

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