Re: front ends vs. code generation and optimization

mauney@cscraz.ncsu.edu (Dr. Jon Mauney)
Tue, 12 Jun 90 16:51:49 GMT

          From comp.compilers

Related articles
front ends vs. code generation and optimization poser@csli.stanford.edu (1990-06-06)
Re: front ends vs. code generation and optimization mauney@cscraz.ncsu.edu (1990-06-12)
Re: front ends vs. code generation and optimization sra@ecs.southampton.ac.uk (Stephen Adams) (1990-06-14)
Re: front ends vs. code generation and optimization hankd@ee.ecn.purdue.edu (1990-06-14)
| List of all articles for this month |
Newsgroups: comp.compilers
From: mauney@cscraz.ncsu.edu (Dr. Jon Mauney)
References: <1990Jun4.044255.14857@esegue.segue.boston.ma.us> <1990Jun5.043151.2131@esegue.segue.boston.ma.us> <1990Jun6.032443.5564@esegue.segue.boston.ma.us>
Date: Tue, 12 Jun 90 16:51:49 GMT
Organization: NCSU Computing Center
Keywords: optimize, C

I agree that there is a danger in compiler-construction courses of
over-emphasizing the easy part, namely front-end generation, and
short-changing the back-end issues. However, I would like to point out
that while the research community thinks that front-ends are a solved
problem and old hat, there are a whole lot of people who haven't gotten
the message. Judging from Usenet traffic, many people think that there
are exactly two kinds of parsers: recursive descent and yacc. Judging
from some compilers I've tested recently, the entire body of literature on
syntactic error handling has been completely ignored: cascaded error
messages are as prevalent as ever.


Vendors seem to understand the utility of optimization; I think that
compilers will include optimizing code generators no matter what is taught
in college. The same thing doesn't seem to be true of good front ends.
So perhaps it is desirable that compiler courses should emphasize
front-ends and the automatic tools available, in order to improve the
balance.


Jon Mauney, parsing partisan
Computer Science Dept, NCSU
mauney@cscadm.ncsu.edu
--


Post a followup to this message

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