Re: Intermediate Representation

marti@antares.inf.ethz.ch
Mon, 13 Aug 90 21:46:14 GMT

          From comp.compilers

Related articles
[11 earlier articles]
Re: Intermediate Representation hankd@dynamo.ecn.purdue.edu (1990-08-12)
Re: Intermediate Representation jouvelot@brokaw.lcs.mit.edu (1990-08-12)
Re: Intermediate Representation convex!csmith@uunet.UU.NET (1990-08-12)
Re: Intermediate Representation preston@titan.rice.edu (1990-08-13)
Re: Intermediate Representation preston@titan.rice.edu (1990-08-13)
Re: Intermediate Representation jouvelot@brokaw.lcs.mit.edu (1990-08-13)
Re: Intermediate Representation marti@antares.inf.ethz.ch (1990-08-13)
Re: Intermediate Representation muller@procope.pa.dec.com (Eric Muller) (1990-08-14)
Re: Intermediate Representation pd@complex.Eng.Sun.COM (1990-08-15)
Re: Intermediate Representation staff@cadlab.sublink.org (1990-08-18)
Re: Intermediate Representation ok@goanna.cs.rmit.OZ.AU (1990-08-20)
intermediate representation han@cs.rochester.edu (1991-02-20)
Re: intermediate representation lavinus@csgrad.cs.vt.edu (1991-02-22)
[4 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: marti@antares.inf.ethz.ch
Keywords: optimize, C
Organization: Departement Informatik, ETH, Zurich
References: <1990Aug07.153407.8877@esegue.segue.boston.ma.us>
Date: Mon, 13 Aug 90 21:46:14 GMT

In article <1990Aug07.153407.8877@esegue.segue.boston.ma.us>
napi@rangkom.MY (Mohd Hanafiah b. Abdullah) writes:
>I would like know what people think is the best Intermediate Representation
>(IR) to be used for highly effective optimizations and code generation, and
>it should be portable.


Many language designers/implementors have turned to using C as an intermediate
representation language, for example in the following research projects and/or
products:


- C++ translator from AT&T (cfront)
- portable Cedar compiler developed at Xerox PARC
- Eiffel compiler from ISE
- Modula-3 compilers developed at DEC SRC and the (now defunct?) Olivetti
    Research Center


Compilation speed using C as an IRL may not be overwhelming, but this solution
is certainly portable. Of course, the quality of the generated machine code
depends substantially on on the C compiler used as a backend.


--
Robert Marti Phone: +41 1 254 72 60
Institut fur Informationssysteme
ETH-Zentrum Internet: marti@inf.ethz.ch
CH-8092 Zurich, Switzerland UUCP: ...uunet!mcvax!ethz!marti
[Probably not what the original author had in mind, but a good thought
nonetheless. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.