计算机
垃圾回收的算法与实现 豆瓣
ガベージコレクションのアルゴリズムと実装
作者: 中村成洋 / 相川光 译者: 丁灵 人民邮电出版社 2016 - 7
★ Ruby之父Matz作推荐语:上古传承的魔法,彻底揭开垃圾回收的秘密!
★ 日本天才程序员兼Lisp黑客竹内郁雄审校
本书前半介绍基本GC算法,包括标记-清除GC、引用计数、复制算法的GC、串行GC的算法、并发GC的算法等。后半介绍V8、Rubinius、Dalvik、CPython等几种具体GC的实现。本书适合各领域程序员阅读。
2024年6月10日 已读
结合图解过完算法篇,还算流畅
计算机
Writing An Interpreter In Go 豆瓣
作者: Thorsten Ball Thorsten Ball 2017 - 2
In this book we will create a programming language together. We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language.
Step by step. From tokens to output. All code shown and included. Fully tested.
Buy this book to learn:
How to build an interpreter for a C-like programming language from scratch
What a lexer, a parser and an Abstract Syntax Tree (AST) are and how to build your own
What closures are and how and why they work
What the Pratt parsing technique and a recursive descent parser is
What others talk about when they talk about built-in data structures
What REPL stands for and how to build one
Why this book?
This is the book I wanted to have a year ago. This is the book I couldn't find. I wrote this book for you and me. So why should you buy it? What's different about it, compared to other interpreter or compiler literature?
Working code is the focus. Code is not just found in the appendix. Code is the main focus of this book.
It's small! It has around 200 pages of which a great deal are readable, syntax-highlighted, working code.
The code presented in the book is easy to understand, easy to extend, easy to maintain.
No 3rd party libraries! You're not left wondering: "But how does tool X do that?" We won't use a tool X. We only use the Go standard library and write everything ourselves.
Tests! The interpreter we build in the book is fully tested! Sometimes in TDD style, sometimes with the tests written after. You can easily run the tests to experiment with the interpreter and make changes.
Why this book?
This book is for you if you...
learn by building, love to look under the hood
love programming and to program for the sake of learning and joy!
are interested in how your favorite, interpreted programming language works
never took a compiler course in college
want to get started with interpreters or compilers…
... but don't want to work through a theory-heavy, 800 pages, 4 pounds compiler book as a beginner
kept screaming "show me the code!" when reading about interpreters and compilers
always wanted to say: "Holy shit, I built a programming language!"
2023年1月15日 已读
We started by building the lexer that turns strings entered into the REPL into tokens.After that, we built the parser, a top-down recursive-descent parser(often called a Pratt parser) that turns the tokens into an AST. Then we built an evaluator. With func Eval recursively walks down the AST and evaluates it, using the object system to produce val.
编译器 计算机
性能之巅 豆瓣
Systems Performance
作者: Brendan Gregg 译者: 徐章宁 / 吴寒思 电子工业出版社 2015 - 8
《性能之巅:洞悉系统、企业与云计算》基于Linux 和Solaris 系统阐述了适用于所有系统的性能理论和方法,Brendan Gregg 将业界普遍承认的性能方法、工具和指标收集于本书之中。阅读本书,你能洞悉系统运作的方式,学习到分析和提高系统与应用程序性能的方法,这些性能方法同样适用于大型企业与云计算这类最为复杂的环境的性能分析与调优。
Ruby原理剖析 豆瓣
Ruby Under a Microscope
作者: [美] Patrick Shaughnessy 译者: 张汉东 / 秦凡鹏 华中科技大学出版社 2016
《Ruby原理剖析》解开Ruby编程语言的魔法面纱。全书图文并茂、深入浅出地剖析了Ruby编程语言的核心工作原理。作者本着科学实证的精神,设计了一系列实验,帮助读者轻松了解这门编程语言的工作奥秘,包括Ruby如何用虚拟机执行代码,Ruby的垃圾回收算法,以及类和模块在Ruby内部的关系等。
面向对象是怎样工作的(第2版) 豆瓣
作者: [日]平泽章 译者: 侯振龙 人民邮电出版社 2020 - 7
本书以图配文的形式,直观易懂地详细介绍了面向对象的全貌及其中包含的各项技术,包括面向对象编程、框架、设计模式、UML、建模、面向对象设计和敏捷开发等。对于各项技术是如何使用的(How),书中只进行最小限度的说明,而重点介绍这些技术究竟是什么样的(What)以及为什么需要这些技术(Why)。另外,书中设有“编程往事”专栏,介绍了作者年轻时的一些经历;还设有“对象的另一面”专栏,以与正文不同的视角讲解面向对象这一概念普及的背景和原因,通俗有趣。
操作系统导论 豆瓣 Goodreads
Operating Systems: Three Easy Pieces
9.2 (8 个评分) 作者: [美] Remzi H. Arpaci-Dusseau / [美] Andrea C. Arpaci-Dusseau 译者: 王海鹏 人民邮电出版社 2019 - 6
这是一本关于现代操作系统的书。全书围绕虚拟化、并发和持久性这3个主要概念展开,介绍了所有现代系统的主要组件(包括调度、虚拟内存管理、磁盘和I/O子系统、文件系统)。
本书共50章,分为3个部分,分别讲述虚拟化、并发和持久性的相关内容。本书大部分章节均先提出特定的问题,然后通过书中介绍的技术、算法和思想来解决这些问题。笔者以对话形式引入所介绍的主题概念,行文诙谐幽默却又鞭辟入里,力求帮助读者理解操作系统中虚拟化、并发和持久性的原理。
本书内容全面,并给出了真实可运行的代码(而非伪代码),还提供了相应的练习,适合高等院校相关专业教师教学和高校学生自学。
Operating Systems: Three Easy Pieces 豆瓣 Goodreads
作者: Remzi H Arpaci-Dusseau / Andrea C Arpaci-Dusseau Arpaci-Dusseau Books, LLC 2018 - 9
OSTEP ("oh step"), or the "the comet book", represents the culmination of years of teaching intro to operating systems to both undergraduates and graduates at the University of Wisconsin-Madison Computer Sciences department for nearly 20 years.The book is organized around three concepts fundamental to OS construction: virtualization (of CPU and memory), concurrency (locks and condition variables), and persistence (disks, RAIDS, and file systems).The material, if combined with serious project work and homeworks, will lead students to a deeper understanding and appreciation of modern OSes.The authors, Remzi and Andrea Arpaci-Dusseau, are both professors of Computer Sciences at the University of Wisconsin-Madison. They have been doing research in computer systems for over 20 years, working together since their first graduate operating systems class at U.C. Berkeley in 1993.Since that time, they have published over 100 papers on the performance and reliability of many aspects of modern computer systems, with a special focus on file and storage systems. Their work has been recognized with numerous best-paper awards, and some of their innovations can be found in the Linux and BSD operating systems today.
黑客与画家 豆瓣 谷歌图书
Hackers and Painters: Big Ideas from the Computer Age
8.6 (241 个评分) 作者: 保罗·格雷厄姆 译者: 阮一峰 人民邮电出版社 2011 - 4
本书是硅谷创业之父Paul Graham 的文集,主要介绍黑客即优秀程序员的爱好和动机,讨论黑客成长、黑客对世界的贡献以及编程语言和黑客工作方法等所有对计算机时代感兴趣的人的一些话题。书中的内容不但有助于了解计算机编程的本质、互联网行业的规则,还会帮助读者了解我们这个时代,迫使读者独立思考。
本书适合所有程序员和互联网创业者,也适合一切对计算机行业感兴趣的读者。
智能时代 豆瓣 Goodreads
7.0 (20 个评分) 作者: [美国] 吴军 中信出版集团 2016 - 8
大数据和机器智能的出现,对我们的技术发展、商业和社会都会产生重大的影响。作者吴军在《智能时代:大数据与智能革命重新定义未来》中指出,首先,我们在过去认为非常难以解决的问题,会因为大数据和机器智能的使用而迎刃而解,比如解决癌症个性化治疗的难题。同时,大数据和机器智能还会彻底改变未来的商业模式,很多传统的行业都将采用智能技术实现升级换代,同时改变原有的商业模式。大数据和机器智能对于未来社会的影响是全方位的。
The Reasoned Schemer 豆瓣 Goodreads
作者: Daniel P. Friedman / William E. Byrd The MIT Press 2005 - 10
The goal of The Reasoned Schemer is to help the functional programmer think logically and the logic programmer think functionally. The authors of The Reasoned Schemer believe that logic programming is a natural extension of functional programming, and they demonstrate this by extending the functional language Scheme with logical constructs -- thereby combining the benefits of both styles. The extension encapsulates most of the ideas in the logic programming language Prolog.The pedagogical method of The Reasoned Schemer is a series of questions and answers, which proceed with the characteristic humor that marked The Little Schemer and The Seasoned Schmer. Familiarity with a functional language or with the first eight chapters of The Little Schemer is assumed. Adding logic capabilities required the introduction of new forms. The authors' goal is to show to what extent writing logic programs is the same as writing functional programs using these forms. In this way, the reader of The Reasoned Schemer will come to understand how simple logic programming is and how easy it is to define functions that behave like relations.
科技群星闪耀时 豆瓣
Idea Makers: Personal Perspectives on the Lives & Ideas of Some Notable People
作者: [美] 斯蒂芬•沃尔弗拉姆(Stephen Wolfram) 译者: 应俊耀 / 蔚怡 人民邮电出版社 2024 - 8
◎ 编辑推荐
创新者的非凡洞见
什么样的项目会更“靠谱”?
什么样的人生会更具拓展性?
伟大思想的源头,科学发展的规律,创新动力的底层逻辑
大师眼中的大师,费曼、乔布斯、冯·诺伊曼……斯蒂芬·沃尔弗拉姆为科技群星撰写的15个传奇故事
◎ 书籍推荐
这本书结合了渊博睿智的作者、熠熠生辉的主人公以及生动有趣的叙事手法。沃尔夫拉姆本人是计算科学、物理学和数学领域的著名学者,又是广泛流行的数学软件 Mathematica和计算知识引擎 Wolfram Alpha的主要设计师,可谓学术和商业领域的“双料巨人”。本书论及的科学家、工程师和企业家是计算科学领域从萌生、发育到壮大、辉煌的300多年里重要代表人物。透过这些伟大的探索者在推动科学技术创新和进步的鲜活故事,作者展现了一条绵延不绝的思想脉络,而这条脉络又与作者本人的创新、实践紧密联系在一起。一部精彩之作。
——段永朝,苇草智酷
痴迷于“简单规则”和“复杂现象”的科学精神的人物谱。
——读者评论
同其他大师一样,沃尔弗拉姆对各个领域都保持着难以抑制的好奇心。他对人文历史的研究同样出于科学思路:通过研究历史中的数据和样本,去找寻一种模式,去发现一种隐藏在纷繁复杂的细节背后的规律,然后以此来指导自己的研究。在千万个历史数据和样本的背后,自有其特定的规律。仔细研究它们,能让你慢慢建立起一种判断的直觉:什么样的项目更“靠谱”?什么样的人生更具拓展性?
——读者评论
他(沃尔弗拉姆)的研究充分显示了,为什么一个人能够有如此卓越的贡献。而其中的理由必须能凭他的经验可以被理解,如果那个理由显得太奇特,那就说明必须继续挖掘下去,找寻更多的信息和材料,翻阅更多的原始文献,直到他能完全理解了这个人物的“成长规律”。从这个角度来讲,如果你喜欢科学与人文的交叉主题,喜欢运用科学的方法论去研究和探索“不确定”的历史和创造力,那么这本书对你来说绝对是不可多得的佳品。
——读者评论
◎ 内容简介
本书是当今杰出的创新者之一斯蒂芬·沃尔弗拉姆(Stephen Wolfram)为数学、物理学和计算科学史上的“群星”所写的传记。他以独特的个人视角讲述了科学和技术史上的有趣人物,及其思想和成就,其中一些人甚至与他有过精彩碰撞。作者从他与理查德·费曼的回忆到与乔布斯的碰撞,从图灵的工作如何释放几代人的创新力,讲到艾达·洛夫莱斯在计算史上的真正影响,将读者带入思想家和创造者们的思想和生活,并将书中故事与自己的兴趣、见解和经历结合在一起,以独到眼光透过历史审视了伟大思想背后的动力,解读科学发展、创新的规律,以及后世能汲取的启发。