News for hackers. Stuff that matters.
Re:If I ever design a first course in compilers, I'll do it ... by ajgrover on Thursday August 07, 2014 @10:00AM (#8147722)
I agree wholeheartedly with this. I go to Stanford and took the compilers course this past spring. Honestly, I almost dropped the class after the first 2 assignments because having to learn Bison and Flex to implement a lexer and parser taught me very little about what was actually happening under the hood and I spent most of my time figuring out the syntax. Static analysis and code gen were really cool though and I feel like those assignments taught me a lot more about what modern compilers are actually doing and how they can help optimize my code.
Re:If I ever design a first course in compilers, I'll do it ... by rrradical on Thursday August 07, 2014 @11:45AM (#8148302)
Just another data point, but I really enjoyed my course, even starting with the lexing/parsing. We did do everything from scratch though. I imagine learning to use bison/flex in a class isn't very rewarding.
Re:If I ever design a first course in compilers, I'll do it ... by pekk on Thursday August 07, 2014 @01:22PM (#8148890)
Was it that you wanted to write your own custom recursive-descent parser, or you just wanted to use ANTLR or something? To me it makes sense that a compilers course would de-emphasize parsing.