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.
發表於2024-12-22
Modern Compiler Implementation in C 2024 pdf epub mobi 電子書 下載
實在是和實際工作差的遠瞭點,而且理論的東西太多。如果不是真的想研究編譯器的話,讀讀知道個大概也就行瞭。 開始的編譯樹等知識還能湊和看懂,進入路徑優化和寄存器分配就完全是在雲裏霧裏的感覺。優化部分,《深入理解計算機》裏講得更實用。 書裏最有意思的應該是分彆把T...
評分Reading now. Anyone who want to communicate the problems, just mail to me.
評分Reading now. Anyone who want to communicate the problems, just mail to me.
評分正在讀,剛跟著它的實踐練習做到第四章。這本書確實講的簡略,重在實踐。前端部分個人覺得《編譯原理與實踐》講的最通俗易懂,可以先熟悉那部分再看這本書估計就能跟著練習走瞭。 p.s. 書中的代碼隻是個示範,可能要做些改動纔能運行
評分實在是和實際工作差的遠瞭點,而且理論的東西太多。如果不是真的想研究編譯器的話,讀讀知道個大概也就行瞭。 開始的編譯樹等知識還能湊和看懂,進入路徑優化和寄存器分配就完全是在雲裏霧裏的感覺。優化部分,《深入理解計算機》裏講得更實用。 書裏最有意思的應該是分彆把T...
圖書標籤: 編譯原理 compiler Compiler 計算機科學 編譯器 虎書 計算機 Programming
從前端到後端,都有講到,有些章節還是看不太懂。哈哈
評分老闆的老闆的大作。。。真心挺好的。。適閤在龍書讀過之後來讀
評分我發現瞭一個驚人的事實:如果作者對某一塊比較熟,那麼就說的很詳細,如果不熟悉,那麼就一筆帶過,哈哈。書整體介紹的比較全麵,不過最好針對某一個主題結閤多本不同的書一起看,效果會更好。另外,tiger真是一門醜陋的語言,C語言實現的版本真心彆扭。
評分我發現瞭一個驚人的事實:如果作者對某一塊比較熟,那麼就說的很詳細,如果不熟悉,那麼就一筆帶過,哈哈。書整體介紹的比較全麵,不過最好針對某一個主題結閤多本不同的書一起看,效果會更好。另外,tiger真是一門醜陋的語言,C語言實現的版本真心彆扭。
評分老闆的老闆的大作。。。真心挺好的。。適閤在龍書讀過之後來讀
Modern Compiler Implementation in C 2024 pdf epub mobi 電子書 下載