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...
评分正在读,刚跟着它的实践练习做到第四章。这本书确实讲的简略,重在实践。前端部分个人觉得《编译原理与实践》讲的最通俗易懂,可以先熟悉那部分再看这本书估计就能跟着练习走了。 p.s. 书中的代码只是个示范,可能要做些改动才能运行
评分本书和龙书都全篇阅读完过,与龙书相比相差太远,这是一本编译方面的入门书,但你最好别信,你需要懂编译方面的原理,因为这本书偏重实践,很多地方原理不讲或者简单地一笔带过,点到即止,没看过龙书,你甚至不知道它在讲什么。
评分 评分实在是和实际工作差的远了点,而且理论的东西太多。如果不是真的想研究编译器的话,读读知道个大概也就行了。 开始的编译树等知识还能凑和看懂,进入路径优化和寄存器分配就完全是在云里雾里的感觉。优化部分,《深入理解计算机》里讲得更实用。 书里最有意思的应该是分别把T...
老板的老板的大作。。。真心挺好的。。适合在龙书读过之后来读
评分老板的老板的大作。。。真心挺好的。。适合在龙书读过之后来读
评分老板的老板的大作。。。真心挺好的。。适合在龙书读过之后来读
评分我发现了一个惊人的事实:如果作者对某一块比较熟,那么就说的很详细,如果不熟悉,那么就一笔带过,哈哈。书整体介绍的比较全面,不过最好针对某一个主题结合多本不同的书一起看,效果会更好。另外,tiger真是一门丑陋的语言,C语言实现的版本真心别扭。
评分从前端到后端,都有讲到,有些章节还是看不太懂。哈哈
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有