This new, expanded textbook describes all phases of a modern compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as functional and object-oriented languages, that are missing from most books. In addition, more advanced chapters are now included so that it can be used as the basis for a two-semester or graduate course. The most accepted and successful techniques are described in a concise way, rather than as an exhaustive catalog of every possible variant. Detailed descriptions of the interfaces between modules of a compiler are illustrated with actual C header files. The first part of the book, Fundamentals of Compilation, is suitable for a one-semester first course in compiler design. The second part, Advanced Topics, which includes the advanced chapters, covers the compilation of object-oriented and functional languages, garbage collection, loop optimizations, SSA form, loop scheduling, and optimization for cache-memory hierarchies.
实在是和实际工作差的远了点,而且理论的东西太多。如果不是真的想研究编译器的话,读读知道个大概也就行了。 开始的编译树等知识还能凑和看懂,进入路径优化和寄存器分配就完全是在云里雾里的感觉。优化部分,《深入理解计算机》里讲得更实用。 书里最有意思的应该是分别把T...
評分Reading now. Anyone who want to communicate the problems, just mail to me.
評分本书和龙书都全篇阅读完过,与龙书相比相差太远,这是一本编译方面的入门书,但你最好别信,你需要懂编译方面的原理,因为这本书偏重实践,很多地方原理不讲或者简单地一笔带过,点到即止,没看过龙书,你甚至不知道它在讲什么。
評分本书和龙书都全篇阅读完过,与龙书相比相差太远,这是一本编译方面的入门书,但你最好别信,你需要懂编译方面的原理,因为这本书偏重实践,很多地方原理不讲或者简单地一笔带过,点到即止,没看过龙书,你甚至不知道它在讲什么。
評分翻了这么多本书,这是我看过的唯一一本讲具体怎么构建一个编译器的书。同时这本书所构建的编译器就像作者说的那样,简单但是并不平庸,拥有很多挺先进的特性。也能算是一个优化编译器。 但是要跟着这本书做下来还是有一定难度的,需要扎实的C语言功底。
從前端到後端,都有講到,有些章節還是看不太懂。哈哈
评分我發現瞭一個驚人的事實:如果作者對某一塊比較熟,那麼就說的很詳細,如果不熟悉,那麼就一筆帶過,哈哈。書整體介紹的比較全麵,不過最好針對某一個主題結閤多本不同的書一起看,效果會更好。另外,tiger真是一門醜陋的語言,C語言實現的版本真心彆扭。
评分老闆的老闆的大作。。。真心挺好的。。適閤在龍書讀過之後來讀
评分老闆的老闆的大作。。。真心挺好的。。適閤在龍書讀過之後來讀
评分This is a java book in disguise...
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有