"Engineering a Compiler" by Cooper and Torczon The Dragon Book is not the best book these days, it focuses too much on stuff you won't care about and not enough on the stuff you do care about. (e.g. it focuses a lot on parser generators and says almost nothing about analysis and optimization) EDIT: A good followup text is "Advanced Compiler Design and Implementation" by Muchnick
Also recommended in this reply