
代码优化之禅
Zen of code optimization
Michael Abrash · 初版 1994 年
5人推荐
11位读者提及
12次提及
为什么值得读
- 改变对汇编语言编程的看法
- 传授如何打磨代码及适可而止
- 讲解深入浅出且启发职业道路
Michael Abrash 深入探索了包括全新热门 Pentium 在内的所有基于 Intel 的 PC 的内部工作原理。这是目前唯一一本提供实用且创新的“右脑”方法、指导如何使用 C/C++ 与汇编语言编写快速 PC 软件的书籍。本书汇集了大量来自实战一线的编程秘诀,并揭示了“未公开”的 Pentium 编程技巧,同时提供了数百个优化代码示例。
Hacker News 上怎么说
正在加载完整评论……
Michael Abrash——好久没听过这个名字了!我还记得他 90 年代的那本《Zen of Code Optimization》,彻底改变了我对汇编语言编程的看法。他能把《雷神之锤》(Quake)的帧率翻倍,我一点都不觉得奇怪!
Michael Abrash - there's a name I haven't heard in a while! I remember his book back in the 90s Zen of Code Optimization completely changed how I looked at assembly language programming. I can easily imagine him doubling the Quake framerate!
Abrash 讲东西自有一套法子[0],特别合我的胃口。他的《Zen of code optimization》这本书真正教会了我该如何思考代码优化,以及何时适可而止、见好就收。[0] 我知道他人还在,只是感觉好久没读过他写的东西了。
Abrash had[0] a way of explaining things that just clicked with me. His Zen of code optimization book really taught me how to think about refining my code. And where to stop refining when enough was enough. [0] I know he's still around. Just haven't read anything by him in forever it seems.
大概是《Zen of Code Optimization》吧。真是怀念那段好时光。
Probably Zen of Code Optimization. Good times.
感谢这篇文章以及你写的所有东西——《Zen of Code Optimization》在我年轻时对我启发极大,也是我成为一名程序员的主要原因之一(哪怕它让我不管做什么都对性能有那么一点点偏执)。我很想……
Thanks for this and all your writing - the Zen of Code Optimization was a hugely inspirational book for me when I was younger, and is one of the main reasons I'm a programmer (even if it has instilled a slight paranoia about performance in everything I do). I'd love…
确实。他的《Zen of Code Optimization》也是一本神作。
Absolutely. His Zen of Code Optimization is also a great book.
你想说的可能是大神 Michael Abrash 的《Zen of Assembly Language》或者《Zen of Code Optimization》。我有后面这本,除了大量针对当时微处理器的底层代码优化建议外,它还包含了用于 DOS 的计时器代码,可以……
You might be thinking of "Zen of Assembly Language" or "Zen of Code Optimization" by the brilliant Michael Abrash. I own the latter and in addition to plenty of low-level code optimization advice for the microprocessors available at the time it also includes timer code for DOS that…