|Compilers in six hours email@example.com (1994-05-12)|
|Re: Compilers in six hours chase@Think.COM (1994-05-17)|
|Re: Compilers in six hours firstname.lastname@example.org (1994-05-17)|
|Re: Compilers in six hours email@example.com (1994-05-18)|
|Compilers in six hours firstname.lastname@example.org (1994-05-18)|
|Compilers in six hours email@example.com (1994-05-19)|
|Re: Compilers in six hours firstname.lastname@example.org (1994-05-19)|
|Re: Compilers in six hours chase@Think.COM (1994-05-19)|
|Re: Compilers in six hours email@example.com (1994-05-20)|
|Re: Compilers in six hours firstname.lastname@example.org (Stefan Monnier) (1994-05-22)|
|Re: Compilers in six hours email@example.com (1994-05-24)|
|[3 later articles]|
|From:||firstname.lastname@example.org (Steve Simmons)|
|Organization:||CONVEX News Network, Engineering (cnn.eng), Richardson, Tx USA|
|Date:||Wed, 18 May 1994 12:15:47 GMT|
> 6. Actually doing a good job of machine-language generation nowadays is
> probably nasty enough to justify a course in itself.
Hmmm... I did teach a class recently and allowed C to be the target
language (as opposed to assembly) for the compiler project.
- Less time wasted on understanding an architecture.
- Project is more likely to be completed and students walk away
- Do not gain an understanding of register allocation problems
- Do not understand memory allocation and address references.
- Do not learn parameter passing well.
- Do not learn problems with calling conventions.
- Do not get a complete feel for linearization of the parse tree
or expansion of any intermediate representation.
- Do not need to do array expansion.
- Do not need to do type conversions.
- Do not learn about runtime libraries. They intuitively use C's.
- Forget about instruction scheduling.
Hmmm.... I do believe that you are right. These subjects could better be
handled in a second semester. However, most programs do not require a
second semester of compilers (if offered at all). How many of those
drawbacks are necessary for a CS student to understand??? Again, one
importance of a compiler course is to understand what a compiler can do.
It is really the job market that makes the final decision for most
students. That is, would you hire a recent graduate if they could not
explain the difference between local and static variables (intelligently)?
Certainly not for a compiler job... maybe not even for a programming job.
Return to the
Search the comp.compilers archives again.