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: f678f,14f3fa9fb2c63b2d X-Google-Attributes: gidf678f,public X-Google-Thread: 102b75,14f3fa9fb2c63b2d X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 1993-12-10 09:47:54 PST Xref: gmd.de comp.lang.misc:5247 comp.arch:18018 comp.unix.osf.misc:799 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!barrnet.net!parc!boehm From: boehm@parc.xerox.com (Hans Boehm) Newsgroups: comp.lang.misc,comp.arch,comp.unix.osf.misc Subject: Re: ANDF - some (mis)information Date: 9 Dec 1993 19:20:48 GMT Organization: Xerox Palo Alto Research Center Message-ID: <2e7tqg$hup@news.parc.xerox.com> References: <1993Dec2.082256@cs.utwente.nl> <1993Dec2.134838.8047@webo.dg.com> <2dl2qs$6ks@schonberg.cs.nyu.edu> NNTP-Posting-Host: siria.parc.xerox.com lindsay+@cs.cmu.edu (Donald Lindsay) writes: >For one thing, ANDF can be the target of multiple languages. I am >indeed aware that several languages have been implemented with C as >their compiler's output. Bleah: the result is often less than >satisfactory. I will admit that I haven't seen enough of ANDF to be >sure that it's better. But at least it's *supposed* to be. Nowhere >does C have a spec that says it should be a good notation for >programs with (say) exceptions, multithreading, and garbage >collection. And think about FORTRAN. The top 3 complaints I have about using C as an intermediate language are: 1. Compilation time. 2. Debugging problems. 3. The optimizer knows nothing about garbage collection. (Even the instruction scheduler should know a little about garbage collection.) I think this is similar to the list you would get from most Cedar, SRC Modula-3 and Sather users. (For numerical code, loss of aliasing information also matters. The current Cedar compiler generates C code that runs in a multithreaded environment without problems, as does SRC Modula-3. Exception handling takes a performance hit, but that's not that major, based on profiles I've seen. I've seen some other minor losses in code quality, but those seemed to be due more to inattention by C compiler writers to features they thought should be infrequent. I would expect ANDF with a nonC front-end to share that problem.) It seems to me that ANDF probably makes point 2 worse. Can anybody verify that it helps with the other two? (I assume it does fix the problem with aliasing information, but I suspect that's secondary for many applications.) Hans-J. Boehm (boehm@parc.xerox.com) Standard disclaimer ...