From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,14f3fa9fb2c63b2d X-Google-Attributes: gidf891f,public X-Google-Thread: 109fba,14f3fa9fb2c63b2d X-Google-Attributes: gid109fba,public X-Google-Thread: fc89c,14f3fa9fb2c63b2d X-Google-Attributes: gidfc89c,public X-Google-Thread: 10cc59,14f3fa9fb2c63b2d X-Google-Attributes: gid10cc59,public X-Google-Thread: f678f,14f3fa9fb2c63b2d X-Google-Attributes: gidf678f,public X-Google-Thread: 103376,14f3fa9fb2c63b2d X-Google-Attributes: gid103376,public X-Google-Thread: 102b75,14f3fa9fb2c63b2d X-Google-Attributes: gid102b75,public X-Google-Thread: fb4a0,14f3fa9fb2c63b2d X-Google-Attributes: gidfb4a0,public X-Google-ArrivalTime: 1993-12-09 15:45:52 PST Xref: gmd.de comp.lang.misc:5230 comp.lang.ada:8660 comp.lang.pascal:17317 comp.lang.c++:40143 comp.unix.programmer:10771 comp.arch:17979 comp.unix.osf.misc:787 comp.unix.unixware:587 comp.lang.dylan:1522 comp.lang.eiffel:2084 comp.lang.lisp:4989 Path: gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!uunet!cs.utexas.edu!math.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!mbk From: mbk%anl433.uucp@Germany.EU.net (Matt Kennel) Newsgroups: comp.lang.misc,comp.lang.ada,comp.lang.pascal,comp.lang.c++,comp.unix.programmer,comp.arch,comp.unix.osf.misc,comp.unix.unixware,comp.lang.dylan,comp.lang.eiffel,comp.lang.lisp Subject: Re: ANDF - some information Followup-To: comp.lang.misc,comp.lang.ada,comp.lang.pascal,comp.lang.c++,comp.unix.programmer,comp.arch,comp.unix.osf.misc,comp.unix.unixware,comp.lang.dylan,comp.lang.eiffel,comp.lang.lisp Date: 8 Dec 1993 20:48:02 GMT Organization: Institute For Nonlinear Science, UCSD Message-ID: <2e5ei2INNqa7@network.ucsd.edu> References: NNTP-Posting-Host: lyapunov.ucsd.edu X-Newsreader: TIN [version 1.1 PL8] 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".