Preface to the Paperback Edition
Code rattled around in my head for about a decade before I started writing it. As I was contemplating Code and then writing it, and even after the book was published, people would ask me, "What's the book about?"
- 节奏切分:
- ① Code rattled around in my head / for about a decade / before I started writing it.
- ② As I was contemplating Code / and then writing it, / and even after the book was published, / people would ask me, / "What's the book about?"
- 顺句盲译:
- ① 《Code》在我脑海里反复打转 → 持续了大约十年 → 在我动笔写它之前。
- ② 在我构思《Code》的时候 → 以及后来动笔写它的时候 → 甚至在这本书出版之后 → 人们总是会问我 → "这本书讲的是什么?"
- 地道译文:《Code》这个想法在我脑海里酝酿打转了大约十年,我才真正动笔。无论是在构思、写作的过程中,还是在书出版之后,人们总爱问我:"这本书到底是讲什么的?"
I was always reluctant to answer this question. I'd mumble something about "a unique journey through the evolution of the digital technologies that define the modern age" and hope that would be sufficient.
- 节奏切分:
- ① I was always reluctant / to answer this question.
- ② I'd mumble something / about "a unique journey / through the evolution / of the digital technologies / that define the modern age" / and hope that would be sufficient.
- 顺句盲译:
- ① 我一直都不太情愿 → 去回答这个问题。
- ② 我往往会含糊地嘟囔几句 → 关于"一场独特的旅程 → 穿越演变历程 → 那些数字技术的 → 定义了现代社会的" → 然后希望这样就足够应付过去了。
- 地道译文:我一向不太愿意回答这个问题。每次我都会含糊地嘟囔几句,说什么"这是一场穿越定义现代社会的数字技术演变史的独特旅程",然后指望这样就能敷衍过去。
But finally I had to admit it: "Code is a book about how computers work."
- 节奏切分:But finally / I had to admit it: / "Code is a book / about how computers work."
- 顺句盲译:但最终 → 我不得不承认这件事 → "《Code》是一本书 → 关于计算机是如何运作的。"
- 地道译文:但最终我还是不得不承认:"《Code》就是一本讲计算机如何运作的书。"
As I feared, the reactions weren't favorable. "Oh, I have a book like that," some people would say, to which my immediate response was, "No, no, no, you don't have a book like this one." I still think that's true. Code is not like other how-computers-work books. It doesn't have big color illustrations of disk drives with arrows showing how the data sweeps into the computer. Code has no drawings of trains carrying a cargo of zeros and ones. Metaphors and similes are wonderful literary devices but they do nothing but obscure the beauty of technology.
- 节奏切分:
- ① As I feared, / the reactions weren't favorable.
- ② "Oh, I have a book like that," / some people would say, / to which my immediate response was, / "No, no, no, you don't have a book like this one."
- ③ I still think / that's true.
- ④ Code is not like / other how-computers-work books.
- ⑤ It doesn't have / big color illustrations of disk drives / with arrows / showing how the data sweeps into the computer.
- ⑥ Code has no drawings / of trains / carrying a cargo of zeros and ones.
- ⑦ Metaphors and similes are wonderful literary devices / but they do nothing but obscure / the beauty of technology.
- 顺句盲译:
- ① 正如我所担心的 → 大家的反应并不算积极。
- ② "哦,我也有本那样的书," → 有些人会这样说 → 对此我的第一反应总是 → "不,不,不,你并没有像这一本这样的书。"
- ③ 我至今仍然觉得 → 这话没错。
- ④ 《Code》不像 → 其他那些讲计算机如何运作的书。
- ⑤ 它里面没有 → 磁盘驱动器的大幅彩色插图 → 上面画着箭头 → 用来展示数据是如何涌入计算机的。
- ⑥ 《Code》里也没有插画 → 画着一列列火车 → 满载着一车厢的 0 和 1。
- ⑦ 隐喻和明喻是很棒的文学修辞手法 → 但它们除了掩盖之外什么也做不了 → 掩盖了技术本身的美感。
- 地道译文:正如我所担心的,大家的反应并不理想。"哦,我也有一本那样的书,"有些人会这样说,而我的第一反应总是:"不,不,不,你绝没有像这一本这样的书。"我至今依然这么认为。《Code》不同于市面上其他讲计算机原理的书。它没有那种大幅彩色磁盘驱动器插图,上面画满箭头展示数据如何涌入电脑;也没有画着满载 0 和 1 的小火车的示意图。隐喻和明喻固然是精妙的文学手法,但它们除了遮蔽技术本身的美感之外,一无是处。
The other comment I heard was, "People don't want to know how computers work." And this I'm sure is true. I personally happen to enjoy learning how things work. But I also like to choose which things I learn about and which I do not. I'd be hard pressed to explain how my refrigerator works, for example.
- 节奏切分:
- ① The other comment I heard was, / "People don't want to know / how computers work."
- ② And this I'm sure is true.
- ③ I personally happen to enjoy / learning how things work.
- ④ But I also like to choose / which things I learn about / and which I do not.
- ⑤ I'd be hard pressed to explain / how my refrigerator works, / for example.
- 顺句盲译:
- ① 我听到的另一种评价是 → "人们并不想知道 → 计算机是怎么运作的。"
- ② 而这一点我非常确信 → 是真的。
- ③ 我个人恰好很喜欢 → 搞懂各种事物的运作原理。
- ④ 但我也喜欢自己挑 → 哪些东西我要去了解 → 哪些我不去了解。
- ⑤ 我就很难讲清楚 → 我家冰箱是怎么运作的 → 举个例子来说。
- 地道译文:我听到的另一种评价是:"人们并不想知道计算机是怎么运作的。"这一点我确信无疑。我个人恰好很喜欢探究事物的运作原理,但我也希望能自己挑选想了解哪些、不了解哪些。比方说,我就很难讲清楚我家冰箱是怎么运作的。
Yet I often hear people ask questions that reveal a need to know something about the inner workings of personal computers. One such common question is, "What's the difference between storage and memory?"
- 节奏切分:
- ① Yet / I often hear people ask questions / that reveal a need / to know something / about the inner workings of personal computers.
- ② One such common question is, / "What's the difference / between storage and memory?"
- 顺句盲译:
- ① 然而 → 我经常听到人们问一些问题 → 这些问题透露出一种需求 → 想了解一点东西 → 关于个人电脑的内部运作机制。
- ② 其中一个很常见的问题就是 → "有什么区别 → 在存储空间和内存之间?"
- 地道译文:然而,我经常听到人们提出一些问题,这些问题恰恰反映出他们其实有必要了解一下个人电脑的内部运作机制。其中一个非常常见的问题就是:"存储空间和内存有什么区别?"
That's certainly a critical question. The marketing of personal computers is based on such concepts. Even novice users are expected to know how many megas of the one thing and gigas of the other thing will be necessary for their particular applications. Novice users are also expected to master the concept of the computer "file" and to visualize how files are loaded from storage into memory and saved from memory back to storage.
- 节奏切分:
- ① That's certainly a critical question.
- ② The marketing of personal computers / is based on such concepts.
- ③ Even novice users are expected to know / how many megas of the one thing / and gigas of the other thing / will be necessary / for their particular applications.
- ④ Novice users are also expected / to master the concept of the computer "file" / and to visualize / how files are loaded from storage into memory / and saved from memory back to storage.
- 顺句盲译:
- ① 这确实是一个关键问题。
- ② 个人电脑的营销宣传 → 正是建立在这些概念之上的。
- ③ 就连新手用户也被默认应该知道 → 其中一样东西需要多少"兆" → 另一样东西需要多少"吉" → 才足够应付 → 他们各自的具体使用需求。
- ④ 新手用户还被默认 → 要掌握电脑"文件"这个概念 → 并在脑海里想象出 → 文件是如何从存储空间加载进内存 → 又是如何从内存保存回存储空间的。
- 地道译文:这确实是一个至关重要的问题。个人电脑的市场营销正是建立在这些概念之上的。就连电脑新手也被默认应该知道,为了满足自己特定的使用需求,其中一样需要多少"兆"、另一样又需要多少"吉"。此外,新手还得掌握电脑"文件"的概念,并在脑中理清文件是如何从存储空间加载到内存、又是如何从内存保存回存储空间的。
The storage-and-memory question is usually answered with an analogy: "Memory is like the surface of your desk and storage is like the filing cabinet." That's not a bad answer as far as it goes. But I find it quite unsatisfactory. It makes it sound as if computer architecture were patterned after an office. The truth is that the distinction between memory and storage is an artificial one and exists solely because we don't have a single storage medium that is both fast and vast as well as nonvolatile. What we know today as "von Neumann architecture"—the dominant computer architecture for over 50 years—is a direct result of this technical deficiency.
- 节奏切分:
- ① The storage-and-memory question is usually answered / with an analogy: / "Memory is like the surface of your desk / and storage is like the filing cabinet."
- ② That's not a bad answer / as far as it goes.
- ③ But I find it quite unsatisfactory.
- ④ It makes it sound / as if computer architecture were patterned after an office.
- ⑤ The truth is / that the distinction between memory and storage / is an artificial one / and exists solely because / we don't have a single storage medium / that is both fast and vast / as well as nonvolatile.
- ⑥ What we know today as "von Neumann architecture" / —the dominant computer architecture for over 50 years— / is a direct result / of this technical deficiency.
- 顺句盲译:
- ① 存储和内存的问题通常会被回答 → 用一个类比来解释 → "内存就像你书桌的桌面 → 而存储就像文件柜。"
- ② 这不算是个坏答案 → 就它能解释的程度而言。
- ③ 但我觉得它相当令人不满意。
- ④ 它让人听起来好像 → 计算机架构是照着办公室的样子设计出来的一样。
- ⑤ 真相在于 → 内存和存储之间的这种区分 → 其实是人为划出来的 → 它的存在仅仅是因为 → 我们没有一种单一的存储介质 → 既高速又容量巨大 → 同时还具备断电不丢失的特性。
- ⑥ 我们今天所熟知的"冯·诺依曼架构" → 这个占据主导地位超过 50 年的计算机架构 → 正是直接结果 → 源于这项技术缺陷。
- 地道译文:关于存储空间和内存的问题,人们通常用一个类比来回答:"内存就像你的书桌桌面,而存储空间就像文件柜。"就其本身的解释范围而言,这个回答倒也不算差,但我觉得它相当令人不满意。这种说法听起来就好像计算机架构是照着办公室的格局设计出来的一样。事实是,内存和存储之间的界限其实是人为划分的,它之所以存在,完全是因为我们找不到一种单一的存储介质,能同时兼具高速、大容量以及断电不丢失数据的特性。我们今天所熟知的"冯·诺依曼架构"——这一称霸计算机领域 50 多年的主流架构——正是这项技术缺陷的直接产物。
Here's another question that someone once asked me: "Why can't you run Macintosh programs under Windows?" My mouth opened to begin an answer when I realized that it involved many more technical issues than I'm sure my questioner was prepared to deal with in one sitting.
- 节奏切分:
- ① Here's another question / that someone once asked me: / "Why can't you run Macintosh programs / under Windows?"
- ② My mouth opened / to begin an answer / when I realized / that it involved many more technical issues / than I'm sure my questioner was prepared to deal with / in one sitting.
- 顺句盲译:
- ① 这是另一个问题 → 曾经有人问过我的 → "为什么你不能运行麦金塔(Mac)程序 → 在 Windows 系统下面?"
- ② 我刚张开嘴 → 准备开始回答 → 就在这时我意识到 → 这件事涉及的技术问题要多得多 → 比我确信提问者做好准备去应对的还要多 → 在一口气/一次谈话之内。
- 地道译文:有人曾经还问过我另一个问题:"为什么不能在 Windows 系统下运行麦金塔(Mac)程序?"我刚张开嘴准备回答,就意识到这背后牵涉的技术问题实在太多,我敢肯定提问者绝没做好心理准备一口气听完这些。
I want Code to be a book that makes you understand these things, not in some abstract way, but with a depth that just might even rival that of electrical engineers and programmers. I also hope that you might recognize the computer to be one of the crowning achievements of twentieth century technology and appreciate it as a beautiful thing in itself without metaphors and similes getting in the way.
- 节奏切分:
- ① I want Code to be a book / that makes you understand these things, / not in some abstract way, / but with a depth / that just might even rival that of electrical engineers and programmers.
- ② I also hope / that you might recognize the computer / to be one of the crowning achievements / of twentieth century technology / and appreciate it / as a beautiful thing in itself / without metaphors and similes getting in the way.
- 顺句盲译:
- ① 我希望《Code》成为这样一本书 → 能让你真正理解这些东西 → 不是以某种抽象的方式 → 而是带着一种深度 → 一种甚至可能媲美电气工程师和程序员的深度。
- ② 我也希望 → 你或许能认识到计算机 → 是最辉煌的成就之一 → 二十世纪科技领域中 → 并欣赏它 → 把它本身当作一件美好的事物 → 而不要让隐喻和明喻横在中间碍事。
- 地道译文:我希望《Code》能成为这样一本书:它能让你真正理解这些原理,不是浮于表面的抽象理解,而是达到某种深度——甚至足以媲美电气工程师和程序员的深度。我也希望你能认识到,计算机是二十世纪科技史上最辉煌的成就之一,并且能够剥离隐喻和明喻的干扰,纯粹地欣赏它本身的美。
Computers are constructed in a hierarchy, from transistors down at the bottom to the information displayed on our computer screens at the top. Moving up each level in the hierarchy—which is how Code is structured—is probably not as hard as most people might think. There is certainly a lot going on inside the modern computer, but it is a lot of very common and simple operations.
- 节奏切分:
- ① Computers are constructed in a hierarchy, / from transistors down at the bottom / to the information displayed on our computer screens / at the top.
- ② Moving up each level in the hierarchy / —which is how Code is structured— / is probably not as hard / as most people might think.
- ③ There is certainly a lot going on / inside the modern computer, / but it is a lot of very common and simple operations.
- 顺句盲译:
- ① 计算机是按层级结构搭建起来的 → 从最底层的晶体管开始 → 一直到显示在我们电脑屏幕上的信息 → 位于最顶层。
- ② 在这个层级中逐级向上攀升 → 这也正是《Code》一书的结构方式 → 可能并没有那么难 → 像大多数人想象的那样难。
- ③ 现代计算机内部确实同时发生着很多事情 → 但那不过是大量非常常见且简单的操作罢了。
- 地道译文:计算机是按层级结构搭建起来的,最底层是晶体管,最顶层则是显示在我们电脑屏幕上的信息。沿着这个层级逐级向上——这也正是《Code》一书的编排方式——其实可能并没有大多数人想象的那么难。现代计算机内部诚然在同时运转着大量事务,但归根结底,它们都只是由许许多多极其常见、简单的基础操作组成的。
Although computers today are more complex than the computers of 25 years or 50 years ago, they are still fundamentally the same. That's what's so great about studying the history of technology: The further back in time you go, the simpler the technologies become. Thus it's possible to reach a point where it all makes relatively easy sense.
- 节奏切分:
- ① Although computers today are more complex / than the computers of 25 years or 50 years ago, / they are still fundamentally the same.
- ② That's what's so great / about studying the history of technology: / The further back in time you go, / the simpler the technologies become.
- ③ Thus / it's possible to reach a point / where it all makes relatively easy sense.
- 顺句盲译:
- ① 尽管今天的计算机更加复杂 → 相比 25 年前或 50 年前的计算机 → 但它们本质上依然是一样的。
- ② 这正是非常棒的地方 → 关于研究技术史这件事 → 在时间上你回溯得越久远 → 这些技术就会变得越简单。
- ③ 因此 → 人们完全有可能达到这样一个节点 → 在那里,这一切都变得相对容易理解了。
- 地道译文:尽管今天的计算机比 25 年前或 50 年前的计算机要复杂得多,但它们在本质上依然如出一辙。这正是研究技术史最迷人的地方:沿着时间线回溯得越久远,技术就变得越简单。因此,我们完全有可能追溯到这样一个节点,在那里,这一切都变得相对容易理解。
In Code, I went as far back as I could go. Astonishingly, I found that I could go back into the nineteenth century and use early telegraph equipment to show how computers are built. In theory at least, everything in the first 17 chapters of Code can be built entirely using simple electrical devices that have been around for over a century.
- 节奏切分:
- ① In Code, / I went / as far back as I could go.
- ② Astonishingly, / I found / that I could go back into the nineteenth century / and use early telegraph equipment / to show how computers are built.
- ③ In theory at least, / everything in the first 17 chapters of Code / can be built entirely / using simple electrical devices / that have been around for over a century.
- 顺句盲译:
- ① 在《Code》一书中 → 我往前追溯 → 一直追溯到我所能去到的最远处。
- ② 令人惊讶的是 → 我发现 → 我竟然能一路回到十九世纪 → 并利用早期的电报设备 → 来演示计算机是如何搭建出来的。
- ③ 至少在理论上 → 《Code》前 17 章里的所有东西 → 都可以完全搭建出来 → 仅仅使用简单的电气设备 → 而这些设备已经存在了一个多世纪。
- 地道译文:在《Code》一书中,我尽可能地沿着时间线往回追溯。令人惊讶的是,我发现自己竟然可以一路回溯到十九世纪,用早期的电报设备来演示计算机是如何一步步搭建出来的。至少在理论上,《Code》前 17 章介绍的所有内容,完全可以用已经存在了一个多世纪的简单电气元件全部组装出来。
This use of antique technology gives Code a fairly nostalgic feel, I think. Code is a book that could never be titled The Faster New Faster Thing or Business @ the Speed of a Digital Nervous System. The "bit" isn't defined until page 68; "byte" isn't defined until page 180. I don't mention transistors until page 142, and that's only in passing.
- 节奏切分:
- ① This use of antique technology / gives Code a fairly nostalgic feel, / I think.
- ② Code is a book / that could never be titled / The Faster New Faster Thing or Business @ the Speed of a Digital Nervous System.
- ③ The "bit" isn't defined / until page 68; / "byte" isn't defined / until page 180.
- ④ I don't mention transistors / until page 142, / and that's only in passing.
- 顺句盲译:
- ① 这种对古老技术的运用 → 赋予了《Code》一种相当怀旧的感觉 → 我觉得。
- ② 《Code》是这样一本书 → 它绝对不可能被起名为 → 《更快的新更快事物,或数字神经系统速度下的商业》。
- ③ "比特(bit)"直到第 68 页才被定义;→ "字节(byte)"直到第 180 页才被定义。
- ④ 我直到第 142 页才提到晶体管 → 而且那也只是一笔带过。
- 地道译文:我觉得,这种对古老技术的运用赋予了《Code》一种相当怀旧的气息。《Code》绝不是那种会取名为《更快的新更快事物,或数字神经系统速度下的商业》的书。书里直到第 68 页才给"比特"下定义,直到第 180 页才定义"字节";至于晶体管,我直到第 142 页才有所提及,而且也只是一笔带过。
So, while Code goes fairly deep into the workings of the computer (few other books show how computer processors actually work, for example), the pace is fairly relaxed. Despite the depth, I tried to make the trip as comfortable as possible.
- 节奏切分:
- ① So, / while Code goes fairly deep / into the workings of the computer / (few other books show / how computer processors actually work, / for example), / the pace is fairly relaxed.
- ② Despite the depth, / I tried to make the trip / as comfortable as possible.
- 顺句盲译:
- ① 所以 → 虽然《Code》挖掘得相当深入 → 深入到计算机的运作机制里 → (很少有其他书会展示 → 计算机处理器实际上是怎么运作的 → 举个例子来说)→ 但整体节奏相当轻松舒缓。
- ② 尽管内容很有深度 → 我还是尽力让这趟旅程 → 尽可能舒适惬意。
- 地道译文:所以,尽管《Code》在计算机运作原理上挖掘得相当深入(比方说,市面上很少有其他书会真正展示计算机处理器是如何运转的),但全书的节奏却相当轻松舒缓。虽然内容颇有深度,我依然尽力让这趟阅读之旅尽可能舒适惬意。
But without little drawings of trains carrying a cargo of zeros and ones.
- 节奏切分:But / without little drawings / of trains / carrying a cargo of zeros and ones.
- 顺句盲译:但是 → 不会有那些小插画 → 画着一列列小火车 → 满载着一车厢的 0 和 1。
- 地道译文:只不过,书里绝不会出现那种画着满载 0 和 1 的小火车的插图。
Charles Petzold
August 16, 2000
