🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3793

Re: Optimized M2

#3793
From: joel
Date: Tue, 01 Sep 1987 01:35
30 lines
2085 bytes
The highly optimizing Modula-2 compiler marketed by Masthaven was written by
Mark Allen, who worked at Volition Systems, a now defunct company for reasons
I won't go into publicly.

Mark is brilliant, and his goal was to generate better code for the 68000 than
any other compiler available.  Especially C compilers.  We were tired of the
claims that C is so great because it is an "efficient" language and compiles
well into machine code.

While there are a few things Mark's compiler doesn't do perfectly, its
register optimization is particularly good - constants used in loops will be
moved into registers, for example, and it tries very hard to allocate
registers only over the most useful extent of an expressions lifetime.

I must admit that we did look over the code it produced for the Byte benchmark
pretty carefully, but all the optimizations that were put in as a result of
that inspection were of general use too.

I'm happy to hear that someone is releasing this compiler finally on UNIX.  I
know nothing about Masthaven, but can vouch for Mark Allen's code.  I doubt
you'll find many compilers for the 68000 even approaching the optimization
that Mark pulled off.

  - Joel McCormack {ihnp4 decvax ucbvax allegra}!decwrl!joel
		 joel@decwrl.dec.com

(Ex-president of Volition Systems.  Currently working on making Mike Powell's
Modula-2 compiler for the VAX into a production quality compiler.  No promises
intended, these are not the official opinions of my employer, etc.)
Technical Details
Message-ID: <8709010126.AA10507@vulcan.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!zen!ucbvax!DECWRL.DEC.COM!joel
References: <1204@pdn.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!zen!ucbvax!DECWRL.DEC.COM!joel
From: joel@DECWRL.DEC.COM.UUCP
Newsgroups: comp.lang.modula2
Subject: Re: Optimized M2
Message-ID: <8709010126.AA10507@vulcan.dec.com>
Date: Mon, 31-Aug-87 21:35:13 EDT
Article-I.D.: vulcan.8709010126.AA10507
Posted: Mon Aug 31 21:35:13 1987
Date-Received: Tue, 1-Sep-87 05:46:08 EDT
References: <1204@pdn.UUCP>
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 30