News for hackers. Stuff that matters.
Re:Want to Write a Compiler? Just Read These Two Papers. by silentbicycle on Friday August 26, 2011 @09:07AM (#2928332)
The nanopass paper uses so many passes for pedagogy, not efficiency. Of course it's inefficient, that's not the point. They're still easier to teach in isolation.
Re:Want to Write a Compiler? Just Read These Two Papers. by jeffdavis on Friday August 26, 2011 @12:21PM (#2928928)
Are you talking about efficiency of the compiler or efficiency of the resulting code?

If it's just an inefficiency of the compiler, you can dismiss it. But if it's an inefficiency in the resulting code, then perhaps the many-pass design isn't adequate for teaching optimization.

Re:Want to Write a Compiler? Just Read These Two Papers. by thesz on Friday August 26, 2011 @12:34PM (#2928971)
The thesis I was talking about is about generated code.

Author of thesis is one of the authors of Blitz++: http://www.oonumerics.org/blitz/

The thesis came from his frustration when seemingly innocent changes provoke significant degradation in performance.