Re: High Level Language vs Assembly

iank@idiom.com (Ian L. Kaplan)
23 Feb 2001 00:09:08 -0500

          From comp.compilers

Related articles
High Level Language vs Assembly francis.doyle@donovandata.com (2001-02-17)
Re: High Level Language vs Assembly jim.granville@designtools.co.nz (Jim Granville) (2001-02-22)
Re: High Level Language vs Assembly rhyde@transdimension.com (Randall Hyde) (2001-02-23)
Re: High Level Language vs Assembly sophie.wilson@broadcom.com (Sophie Wilson) (2001-02-23)
Re: High Level Language vs Assembly iank@idiom.com (2001-02-23)
Re: High Level Language vs Assembly thp@hill.cs.ucr.edu (Tom Payne) (2001-02-25)
Re: High Level Language vs Assembly walter@bytecraft.com (Walter Banks) (2001-02-25)
Re: High Level Language vs Assembly walter@bytecraft.com (Walter Banks) (2001-02-25)
Re: High Level Language vs Assembly rhyde@transdimension.com (Randall Hyde) (2001-02-25)
Re: High Level Language vs Assembly max@max.mcs.gac.edu (Max Hailperin) (2001-02-25)
Re: High Level Language vs Assembly jacob@jacob.remcomp.fr (jacob navia) (2001-02-25)
[20 later articles]
| List of all articles for this month |

From: iank@idiom.com (Ian L. Kaplan)
Newsgroups: comp.compilers
Date: 23 Feb 2001 00:09:08 -0500
Organization: Unknown
References: 01-02-094
Keywords: performance, practice
Posted-Date: 23 Feb 2001 00:09:08 EST

> When I took a compiler class in Grad School, my professor was
>adamant about the efficiency of code produced by new high level
>language compilers. He stated that a human assembly language writer
>was no longer able to compete with these compilers


    I suspect that whether this is true depends on the microprocessor.
    As architectures get more advanced humans have a harder time writing
    efficient code. For example, a compiler should be able to beat a
    human on VLIW code. Or, for that matter, code for the IA64.


    There is also the issue of whether the human assembly programmer
    must beat the compiler in general or for a specific algorithm. For
    small sections of code a human can beat a compiler for processors
    like MIPS or powerPC. A compiler should shine over larger expanses
    of code as it can use global flow analysis.


    So in summary I don't think that there is an unambiguous answer.


Post a followup to this message

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