When comparing Modern Compiler Design vs Engineering a Compiler, Second Edition, the Slant community recommends Engineering a Compiler, Second Edition for most people. In the question“What are the best resources to learn about compiler construction?” Engineering a Compiler, Second Edition is ranked 4th while Modern Compiler Design is ranked 5th. The most important reason people chose Engineering a Compiler, Second Edition is:
Engineering a Compiler covers both the theory of constructing a compiler, and the implementation.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Covers broad range of topics
Modern Compiler Design covers a broad range of topics not often discussed in other compiler books. The compilation of parallel and logical languages for example.
Pro Good introduction
Modern Compiler Design touches on a variety of topics without being convoluted. It will help the reader grasp the fundamental concepts of compiler theory.
Pro Covers theory and application
Engineering a Compiler covers both the theory of constructing a compiler, and the implementation.
Pro Good for beginners
Engineering a Compiler has a beginner-friendly writing style that presents and explains concept without requiring an existing knowledge of compilers.
Pro Easy read
Engineering a Compiler, Second Edition is an easy read compared to many other compiler books. It is well written and explains concepts in-depth.
Cons
Con Poor pseudo-code
The pseudo-code can be difficult to read and follow.
Con Dull book
Modern Compiler Design has large chapters with a condensed layout and dull typography.
Con Lack of examples
More examples and exercises could be used throughout the book.