《编写出色的代码》封面

编写出色的代码

Write Great Code

Randall Hyde · 初版 2004 年

16人推荐
19位读者提及
25次提及

为什么值得读

  • 讲清计算机底层机制与整套技术栈的协同
  • 解释高级语言程序行为与性能瓶颈的成因
  • 汇编与伪代码示例清晰易懂且利于调试排错

Hacker News 上怎么说

  • ……什么都用 C(或机器语言)来写,但如果对整个技术栈是如何拼在一起的有个概念,你就会明白哪些操作本质上开销更大、更容易出错等等。我推荐两本书:Randall Hyde 写的《Write Great Code 卷 1:深入理解机器》,以及 Nisan 和 Schocken 写的《计算机系统要素》(The Elements of Computing Systems,http://www.idc.ac.il/tecs/)。WGC1 讲的主要是通常在了解机器时学到的东西,而……

    …use C (or machine language) for everything, but having an idea how the whole stack fits together will show which operations are inherently more expensive, error prone, etc. Two books I'd recommend: _Write Great Code vol. 1: Understanding the Machine_ by Randall Hyde, and _The Elements of Computing Systems_ by Nisan & Schocken (http://www.idc.ac.il/tecs/). WGC1 is about things typically learned about the machine while…

  • ……也很不错,Charles Petzold 写的《编码》(Code)也是。http://www.amazon.com/Code-Language-Computer-Hardware-Softwa... 修改后补充:刚才琢磨我提到的前三本书时,我又想到了另一本,Randall Hyde 的《Write Great Code, Volume 1: Understanding the Machine》。http://www.amazon.com/Write-Great-Code-Understanding-ebook/d...

    …is also good, as is Code by Charles Petzold. http://www.amazon.com/Code-Language-Computer-Hardware-Softwa... AFTER EDIT: While I thought about the first three books I mentioned, I thought of another, Write Great Code, Volume 1: Understanding the Machine by Randall Hyde. http://www.amazon.com/Write-Great-Code-Understanding-ebook/d...

  • ……才能彻底搞懂为什么你的高阶语言(HLL)程序会有那样特定的行为。这还是往好里说了。其实我敲这条评论时,笔记本底下就垫着一本让我茅塞顿开的书,叫 Randall Hyde 写的《Write Great Code》。就是写出《汇编语言编程艺术》(Art of Assembly Programming)和 HLA 的那位老兄。读完真是让人醍醐灌顶。

    …to fully understand why your HLL programs behave the way they do. That's the charitable interpretation. I'm actually writing this comment on a laptop sitting on a book that did that for me. It's called Write Great Code by Randall Hyde. Guy who made Art of Assembly Programming and HLA. It was enlightening.

  • ……且与编程语言无关。其他人已经提过了。如果你对计算机底层原理和编程细节不太摸得着头脑,强烈推荐这本书,怎么吹都不为过。https://www.amazon.com/Code-Language-Computer-Hardware-Softw... 还有《Write Great Code》(第一卷和第二卷)。Randall Hyde 的书对底层计算机操作的讲解简直绝了。里面的例子是用汇编或伪代码写的,但都通俗易懂。https://www.amazon.com/Write-Great-Code-Understanding-Machin...

    …language-agnostic. Others have mentioned it already. Can't recommend enough if you're iffy on the internals of computers and programming. https://www.amazon.com/Code-Language-Computer-Hardware-Softw... Write Great Code (Volumes I and II). Randall Hyde's books are fantastic explications of the underlying computer operations. Examples are in assembly or pseudo-code but easy to understand. https://www.amazon.com/Write-Great-Code-Understanding-Machin...

  • ……* 为什么你的程序会表现出那样的行为 * 为什么你的性能分析结果会是那个样子 * 让你掌握排查高级工具中不可避免的问题所需的技能。我强烈推荐《Write Great Code: Understanding the Machine》:http://www.amazon.com/Write-Great-Code-Understanding-Machine...

    …Why your program behaves the way it does * Why your performance profile looks the way it does * Gives you the skills you need to debug inevitable problems in your high level tools. I highly recommend Write Great Code: Understanding the Machine: http://www.amazon.com/Write-Great-Code-Understanding-Machine...

  • ……被奉为 BSD 网络 API 的圣经,如果你有兴趣编写任何规模、任何语言的网络软件,都应该从这本书起步——其他一切都是在此基础上构建的。2. 《Write Great Code: Volume 1: Understanding the Machine》(Randall Hyde 著)——归根结底,你写的代码是要在机器上执行的。理解机器如何工作有助于你理解自己的代码。……

    …considered the bible of the BSD networking APIs, and if you're interested in writing network software at any scale, in any language, you should start with this book -- everything else builds from here. 2. Write Great Code: Volume 1: Understanding the Machine (Randall Hyde) - At the end of the day you're writing code that will execute on a machine. Understanding how the machine works will help you understand your code.…

正在加载完整评论……

键盘快捷键

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