Re: Folk Theorem: Assemblers are superior to Compilers

johnson@cs.uiuc.edu (Ralph Johnson)
Sun, 31 Oct 1993 02:41:00 GMT

          From comp.compilers

Related articles
[17 earlier articles]
Re: Folk Theorem: Assemblers are superior to Compilers elliottm@csulb.edu (1993-10-29)
Re: Folk Theorem: Assemblers are superior to Compilers jvn@fermi.clas.virginia.edu (Julian V. Noble) (1993-10-29)
Re: Folk Theorem: Assemblers are superior to Compilers Freek.Wiedijk@phil.ruu.nl (1993-10-29)
Re: Folk Theorem: Assemblers are superior to Compilers synaptx!thymus!daveg@uunet.UU.NET (Dave Gillespie) (1993-10-29)
Re: Folk Theorem: Assemblers are superior to Compilers rfg@netcom.com (1993-10-30)
Re: Folk Theorem: Assemblers are superior to Compilers qualtrak@netcom.com (1993-10-30)
Re: Folk Theorem: Assemblers are superior to Compilers johnson@cs.uiuc.edu (1993-10-31)
Re: Folk Theorem: Assemblers are superior to Compilers henry@zoo.toronto.edu (1993-10-31)
Re: Folk Theorem: Assemblers are superior to Compilers drraymon@watdragon.uwaterloo.ca (1993-11-01)
Re: Folk Theorem: Assemblers are superior to Compilers dmr@alice.att.com (1993-11-02)
Re: Folk Theorem: Assemblers are superior to Compilers steven.parker@acadiau.ca (1993-11-02)
Re: Folk Theorem: Assemblers are superior to Compilers pardo@cs.washington.edu (1993-11-03)
Re: Folk Theorem: Assemblers are superior to Compilers kanze@us-es.sel.de (James Kanze) (1993-11-03)
[4 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: johnson@cs.uiuc.edu (Ralph Johnson)
Keywords: C, optimize, assembler
Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
References: 93-10-138 93-10-148
Date: Sun, 31 Oct 1993 02:41:00 GMT

The one "proof" that compiled code can be as "good" as assembled code that
I know about is from the Bliss project back in the mid '70s. The Bliss
compiler for the PDP-11 was optimized for size of generated code, not
speed, because the PDP-11 had only a 64KB address space. The authors did
a study in which a dozen or so DEC PDP-11 assembly language experts were
given a couple of programs each to write. The programs took them a day or
so apiece to write. Some people (I don't know if it was the same people
or CMU grad students) wrote the same programs in Bliss given the same
amount of time. There was some variance, of course, but by and large the
Bliss programs were smaller.


The claim was that since the compiler was fairly good, given a fixed
amount of time a Bliss programmer could spend a larger fraction of the
time optimizing the program than the assembly language programmer could,
because it took less time to get the program correct.


I don't know where I saw this paper, but Wulf was probably a coauthor. He
should at least know where it was published. It has been at least 15
years since I read the paper, so it obviously made an impression on me.


-Ralph Johnson
--


Post a followup to this message

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