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: fc89c,14f3fa9fb2c63b2d X-Google-Attributes: gidfc89c,public X-Google-Thread: 109fba,14f3fa9fb2c63b2d X-Google-Attributes: gid109fba,public X-Google-Thread: fb4a0,14f3fa9fb2c63b2d X-Google-Attributes: gidfb4a0,public X-Google-Thread: 102b75,14f3fa9fb2c63b2d X-Google-Attributes: gid102b75,public X-Google-Thread: f678f,14f3fa9fb2c63b2d X-Google-Attributes: gidf678f,public X-Google-Thread: 103376,14f3fa9fb2c63b2d X-Google-Attributes: gid103376,public X-Google-Thread: 10cc59,14f3fa9fb2c63b2d X-Google-Attributes: gid10cc59,public X-Google-ArrivalTime: 1993-12-19 01:23:50 PST Xref: gmd.de comp.lang.misc:5298 comp.lang.ada:8932 comp.lang.pascal:17833 comp.lang.c++:40981 comp.unix.programmer:11023 comp.arch:18259 comp.unix.osf.misc:854 comp.unix.unixware:846 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 Path: gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!cs.umd.edu!uchinews!news From: dave@blackjoke.bsd.uchicago.edu (Dave Griffith) Subject: Re: ANDF - some (mis)information Message-ID: <1993Dec14.201142.26562@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: University of Chicago -- Academic Information Technologies References: <2el49dINN638@network.ucsd.edu> Date: Tue, 14 Dec 1993 20:11:42 GMT In article <2el49dINN638@network.ucsd.edu> mbk%anl433.uucp@Germany.EU.net (Matt Kennel) writes: > There are also claims that the semantics of C are insufficient as an output > code for some other kinds of languages, which is probably true. Not "probably". Manifestly and utterly. There are about a half-dozen important things required for non-C languages that simply cannot be done efficiently when compiling by way of portable C. My list includes GC, arithmetic with traps, non-local exceptions, and (god help us) BCD arithmetic. More stuff can only be done if the target C compiler is quite smart indeed (bit-rotates, for example). > > In that case, I think that one ought to attempt to identify these, and make > extensions to C so as to make it more friendly as an intermediate language, > and/or impose other portability requirements on 'ANDF-certified' intermediate C > code. > It might easier to get a few changes into C up and running rather than > starting from scratch. Fortunately we don't have to start from scratch. We can use the good work of the people at DRA and OSF. This sounds _much_ easier than getting a half-dozen major changes past the ANSI C committee in my lifetime. [good stuff on noalias, deleted] > Making the C garbage-collector friendly would also be a good idea. A garbage-collector friendly C would require breaking _huge_ amounts of existing code. -- Dave Griffith, Information Resources, University of Chicago, Biological Sciences Division dave@delphi.bsd.uchicago.edu Lord, grant me the companionship of those who seek truth, and protection from those who have found it.