《编译器设计原理》封面

编译器设计原理

Principles of compiler design

Alfred V. Aho、Jeffrey D. Ullman · 初版 1977 年

8人推荐
18位读者提及
19次提及

为什么值得读

  • 详细阐释语法扩展对编译器性能的影响
  • 启发读者实现领域特定语言与底层开发
  • 被众多从业者视为改变职业轨迹的书

Hacker News 上怎么说

  • 文法最终会在好几个层面变成个麻烦事。我强烈推荐《编译程序设计原理》(Principles of Compiler Design)[1]。一个稳妥的经验法则是:随着文法和规则的膨胀,编译器的性能和简洁性就会开始恶化,在添加新特性不够谨慎时尤甚。第二个问题是实际开发中,……

    Grammar ends up becoming a problem on a few fronts. I highly recommend Principles of Compiler Design [1]. One safe rule of thumb is, as grammar and rules expand, the performance and simplicity of the compiler begin to deteriorate, particularly if features aren't added carefully. The second is in practice,…

  • ……没有优化。所以我手肉身把编译器逆向反编译回了 Pascal,就是为了看看它是怎么工作的。我那时候显然闲得蛋疼(时间太太太充裕了)。后来我读了那本绿龙书(Aho & Ullman 写的《编译程序设计原理》),并在 1991 年去了微软的 C/C++ 团队。这些年来,我写过好几个领域特定语言(DSL),也就是为了某些特定用途的小型语言。早年接触词法分析(lexing)的经历,……

    …unoptimized. So I decompiled the compiler back to Pascal by hand, just to see how it worked. I obviously had waaaaay more free-time back then. I eventually read the green Dragon book (Aho & Ullman, Principles of Compiler Design), and ended up at Microsoft on the C/C++ team in 1991. Over the years, I've written several domain-specific languages (DSLs), small languages for some limited purpose. That early exposure to lexing,…

  • 龙书:《编译程序设计原理》(Principles of Compiler Design,阿尔弗雷德·艾侯和杰弗瑞·乌尔曼,1986)

    The Dragon Book: Principles of Compiler Design (Alfred V. Aho, and Jeffrey D. Ullman, 1986)

  • ……比如菲利普·克罗斯比的《质量免费》;然后还有一些真正能改变你人生的书,比如阿什克罗夫特和梅尔敏的《固体物理学》、高德纳的《计算机程序设计艺术》、艾侯和乌尔曼的《编译程序设计原理》、史蒂夫·麦康奈尔的《软件预估:解密黑魔法》、保罗·斯坦梅茨的《蘑菇种植者:家庭种植蘑菇实用指南》、马克·……的《力量训练基础》

    …say Quality is Free by Phillip Crosby Then there are some books that really could change your life, say Solid State Physics by Ashcroft and Mermin The Art of Computer Programming by Donald Knuth Principles of Compiler Design by Aho and Ullman Software Estimation: Demystifying the Black Art by Steve McConnell The Mushroom Cultivator: A Practical Guide to Growing Mushrooms at Home by Paul Stamets Starting Strength by Mark…

  • 问题的第一部分(对我产生实际影响的):1) 《Philip 和 Alex 的网络发布指南》(严格来说不算一本书)http://philip.greenspun.com/panda/ 2) “龙书” https://en.wikipedia.org/wiki/Principles_of_Compiler_Design 3) 《计算机体系结构:量化研究方法》。第二部分(事后复盘):1) https://en.wikipedia.org/wiki/Rich_Dad_Poor_Dad(有点俗套,但挺管用)2) http://toddkashdan.com/upside.php 3) https://www.schranner.com/de/news/2012/04/16/-verhandeln-im-...…

    First part of the question (actual influences): 1) Philip and Alex's Guide to Web Publishing (not strictly a book). http://philip.greenspun.com/panda/ 2) The "Dragon Book" https://en.wikipedia.org/wiki/Principles_of_Compiler_Design 3) Computer Architecture: A Quantitative Approach Second part (at hindsight): 1) https://en.wikipedia.org/wiki/Rich_Dad_Poor_Dad (cheesy, but useful) 2) http://toddkashdan.com/upside.php 3) https://www.schranner.com/de/news/2012/04/16/-verhandeln-im-...…

  • ……把一堆‘最优’算法拼凑在一起也许很教科书,但通常你可以运用某些领域知识来省去一两个步骤,从而降低实际运行时间和维护开销)我发现像图论、编译程序设计原理,以及掌握汇编代码的实际应用知识也挺有用的,不过对于做 Web 服务器这块来说,这可能已经属于钟形曲线的极右端长尾了 :P 计算机科学是数学的一个子集,让人惊奇的是哪些……

    …'optimal' algorithms together might be textbook, but often you can apply some domain knowledge to cut out a step or two to reduce actual runtime and maintenance overhead) I've found stuff like graph theory, principles of compiler design, and a working knowledge of assembly code to be useful too, but that's probably the far end of the bell curve for web server stuff :P Computer Science is a subset of mathematics and it's amazing which…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助