Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mit-eddie!ll-xn!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!cernvax!ethz!solaris!wyle
From: wyle@solaris.UUCP (Mitchell Wyle)
Newsgroups: comp.lang.modula2
Subject: Re: C v.s. Modula II
Summary: Sun Modula-2 optimizes
Keywords: optimizer
Message-ID: <473@solaris.UUCP>
Date: 18 Aug 88 10:01:11 GMT
References: <8808151857.AA05996@klaus.olsen.uucp>
Reply-To: wyle@ifi.ethz.ch
Organization: SOT Sun Cluster, ETH Zuerich
Lines: 23

>because we wrote 500 modules using the two-pass style (anyone written
>an automatic converter yet?).  Most of the M2 implementations
>don't do: automatic inlining (not so hard), register allocation (local
>would be fine), any amount of code optimization, and/or code elimination.

The Sun M2 compiler version 2.1 uses the Sun global optimizer for
peep-hole and shared library optimization.  I admit it's only in the
code generation, and not earlier, but it's better than nothing.

>The problem is that no one takes a half a minute to think what it
>would take to make a good M2 compiler.  (I'll supply a empirically
>proven portable library free of charge.)  Forget the past, one

Which library are you talking about?

>Rob Nagler     mcvax!olsen!nagler@uunet.uu.net
>Olsen & Associates/Research Institute for Applied Economics/Zuerich

-- 
-Mitchell F. Wyle            wyle@ethz.uucp
Institut fuer Informatik     wyle%ifi.ethz.ch@relay.cs.net
ETH Zentrum                  
8092 Zuerich, Switzerland    +41 1 256-5237