`
xiaoliu216
  • 浏览: 22883 次
  • 性别: Icon_minigender_1
  • 来自: 广西
最近访客 更多访客>>
社区版块
存档分类
最新评论

《The Tao Of Programming》Book Eight - Hardware and

阅读更多
Book Eight - Hardware and Software
第八篇 硬件和软件

Thus spake the master programmer:
编程大师如是说:

"Without the wind, the grass does not move.
Without software, hardware is useless."
风不动则草不动,
没有软件,硬件只是一堆发热的电子器件

8.1

A novice asked the master: "I perceive that one computer company is much
larger than all others. It towers above its competition like a giant among
dwarfs. Any one of its divisions could comprise an entire business. Why
is this so?"
一个初学者问编程大师:“我知道有一家计算机公司比所有其它的公司都大。在
它面前它的竞争对手就象站在巨人面前的侏儒。它的任一部门都有各自的业务,
为什么会这样呢?”

The master replied, "Why do you ask such foolish questions? That company
is large because it is so large. If it only made hardware, nobody would
buy it. If it only maintained systems, people would treat it like a servant.
But because it combines all of these things, people think it one of the
gods! By not seeking to strive, it conquers without effort."
大师说,“为什么你问如此愚蠢的问题呢?那家公司大是因为它就是如此之大,
如果它只做硬件,就没有人会买,如果它只维护系统,人们只会把它当作仆人,
但是它的业务囊括了所有这些东西,人们就对它顶礼莫拜好象不用努力奋斗就可
击败竞争对手

8.2

A master programmer passed a novice programmer one day. The master noted
the novice's preoccupation with a hand-held computer game. "Excuse me",
he said, "may I examine it?"
有一天编程大师碰见了一个正玩掌上游戏机的编程新手,他说:“给我看一
下?”

The novice bolted to attention and handed the device to the master. "I
see that the device claims to have three levels of play: Easy, Medium,
and Hard", said the master. "Yet every such device has another level of
play, where the device seeks not to conquer the human, nor to be conquered
by the human."
新手把游戏机递给大师,“我看到上面说明了三种难度的玩法:容易,中等,高
难”,大师说,“但是每个这样的游戏机都有另外一种玩法,此时游戏机即不是
想着怎么赢你,也不是怎么被你赢。”

"Pray, great master," implored the novice, "how does one find this
mysterious setting?"
“那么请问大师”,初学者说,“这种玩法到底是怎样玩的呢?”

The master dropped the device to the ground and crushed it under foot.
And suddenly the novice was enlightened.
大师把游戏机摔到地下然后用脚踩碎它,突然初学者明白了。

8.3

There was once a programmer who worked upon microprocessors. "Look at how
well off I am here," he said to a mainframe programmer who came to visit,
"I have my own operating system and file storage device. I do not have
to share my resources with anyone. The software is self-consistent and
easy-to-use. Why do you not quit your present job and join me here?"
有一个工作在微机上的程序员对前来参观的大型机程序员说:“看看我这里吧,
我有自己的操作系统和文件存储设备,我不需要与别人共享任何资源,软件条条
有理并且易于操作。为什么你不辞去你的工作到这里来呢?”

The mainframe programmer then began to describe his system to his friend,
saying: "The mainframe sits like an ancient sage meditating in the midst
of the data center. Its disk drives lie end-to-end like a great ocean of
machinery. The software is a multi-faceted as a diamond and as convoluted
as a primeval jungle. The programs, each unique, move through the system
like a swift-flowing river. That is why I am happy where I am."
大型机的程序员对他的朋友说:“大型机就象古代圣贤一样深思熟虑,它的磁盘
设备从头到尾就象是一个巨大的机械设备的海洋。软件象钻石一样有多个面,象
远古的森林一样令人费解。每一个程序都象水经过河流一样穿行于系统中,那就
是为什么我乐于为它工作”

The microcomputer programmer, upon hearing this, fell silent. But the two
programmers remained friends until the end of their days.
微机程序员听了这些话后,默默不语,但这两个程序员至死都是很好的朋友

8.4

Hardware met Software on the road to Changtse. Software said: "You are
the Yin and I am the Yang. If we travel together we will become famous
and earn vast sums of money." And so the pair set forth together, thinking
to conquer the world.
硬件和软件在路上碰见了,软件说:“你是阴我是阳,如果我们联手就可以赚大
钱。”所以它们走到了一直,考虑怎样征服世界。

Presently, they met Firmware, who was dressed in tattered rags, and
hobbled along propped on a thorny stick. Firmware said to them: "The Tao
lies beyond Yin and Yang. It is silent and still as a pool of water. It
does not seek fame, therefore nobody knows its presence. It does not seeks
fortune, for it is complete within itself. It exists beyond space and
time."
不久,它们遇到了固件,固件衣衫褴褛,拄着一根拐棍步履蹒跚。固件对它们说:
“道在于阴阳之外。它静如止水,它从不指望能扬名远近,所以没有人知道它的
存在。它也不寻求幸福,它只是与它自己的存在在一起,它存在于空间和时间之
外。”

Software and Hardware, ashamed, returned to their homes.
软件和硬件面有惭色,各自回了家。

分享到:
评论

相关推荐

    The Tao Of Programming

    ### 编程之道——《The Tao Of Programming》精读 #### 第一部分:概述与核心理念 **标题**:“The Tao Of Programming”(编程之道) **描述**:“编程之道,绝对经典。” **标签**:“Programming” 从标题和...

    The Tao Of Programming —— 编程之道

    美国是个软件工业和程序设计水平处于世界依靠地位的国家,我们是不是可以从 那里借鉴点什么呢?您将要读到的《编程之道》一书便是出息美国的一位善于进 行哲学性思考、有十多年工作经验的程序设计师--Geoffrey ...

    编程之道(The tao of programming)

    《编程之道》是一本深受程序员喜爱的经典著作,它以寓言的形式揭示了编程的艺术与哲学。这本书通过一系列富有智慧的故事,向我们传达了编程的精髓,帮助开发者在实践中找到解决问题的深层思考方式。...

    The+Tao+of+Microservices-Manning(2017).pdf

    The Tao of Microservices guides you on the path to understanding and building microservices. Based on the invaluable experience of microservices guru Richard Rodger, this book exposes the thinking ...

    the tao of programming

    《编程之道》(The Tao of Programming)是一本以哲学视角探讨计算机编程原理及精神的书籍,它以道家思想为灵感,通过一系列寓言故事和智慧格言来阐述编程的精髓与艺术。本书由Geoffrey James翻译,经多位贡献者编辑...

    The Tao of Microservices

    The Tao of Microservices Authors: Richard Rodger ISBN 10: 1617293148 ISBN 13: 9781617293146 Edition: 1 Released: 2017-12-31 Format: Paperback (328 pages)...http://finelybook.com/the-tao-of-microservices/

    The Tao of Network Security Monitoring Beyond Intrusion Detection

    The Tao of Network Security Monitoring Beyond Intrusion Detection By Richard Bejtlich Pages : 832 英文

    The Tao of Physics - F. Capra.pdf

    物理之道,一本把现代物理和东方神秘学放在一起做科普的小书。此书共分三章,前两章分别介绍现代物理和东方神秘学各大流派,第三章则是对两者的对比讨论。

    tao-ace-rtai-port-0.3-rc1.tar-源码.rar

    【标题】"tao-ace-rtai-port-0.3-rc1.tar-源码.rar" 提供的是一款开源软件的源代码压缩包,它包含的是 Tao ACE RTAI(Real-Time Application Interface)的移植版本0.3的候选发布1(Release Candidate 1)。...

    The Tao of Windows Buffer Overflow

    《Windows缓冲区溢出之道》是一本深入探讨Windows系统中缓冲区溢出漏洞的经典著作。在信息技术领域,安全是至关重要的,而缓冲区溢出作为一类常见的安全问题,经常被黑客利用来攻击系统,获取非法权限。...

    Heterogeneous Federated Learning: State-of-the-art and Research

    ### 异构联邦学习:现状与... Heterogeneous Federated Learning: State-of-the-art and Research Challenges. - [2] 相关领域的其他文献资料。 注:本文档是根据提供的部分内容摘要整理而成,具体细节请参考原文献。

    kdd18_slides-yutao-AMiner-Name-Disambiguation

    kdd18_slides-yutao-AMiner-Name-Disambiguation 命名冲突的好slides

    游戏编程--设计思想

    The Tao of Programming flows far away and returns on the wind of morning. 编程之道去如黄鹤来如晨风。 1.2 The Tao gave birth to machine language. Machine language gave birth to the assembler. 道生...

    The Tao of Microservices 1Ed 2017 pdf

    Manning 的 The Tao of Microservices,1Ed 2017-12月出版. 英文完美PDF(非转换). 去掉了只读模式, 可以做笔记. 另外重新编排了页码, 跟 pdf 是一一对应, 方便跳转. 注: 不想要这么多分. 我权限低, 是系统自动弄的.....

    The Tao of Windows Buffer Overflow 缓冲区溢出之道

    The Tao of Windows Buffer Overflow 缓冲区溢出之道 中文翻译版

    ACE-5.4+TAO-1.4+CIAO-0.4.part2.rar

    此外,ACE 开发组的许多成员目前正在进行 The ACE ORB(TAO,http://www.cs.wustl.<br>edu/~schmidt/TAO.html)的开发工作。 <br>使用 ACE的好处 诸多使用 ACE 的好处包括: 增强可移植性:在 ACE ...

    CORBA Programming with TAO

    CORBA Programming with TAO,整理自“大卫的思维空间”,内容简洁,快速入门。格式制作为CHM,方便阅读。

    《CORBA Programming with TAO》

    《CORBA Programming with TAO》是一篇专门为CORBA编程初学者准备的文章,它详细介绍了如何使用TAO(The ACE ORB)这一实现CORBA标准的开源ORB(对象请求代理)。TAO是ACE(Adaptive Communication Environment)...

    ACE-5.4+TAO-1.4+CIAO-0.4.part3.rar

    此外,ACE 开发组的许多成员目前正在进行 The ACE ORB(TAO,http://www.cs.wustl.<br>edu/~schmidt/TAO.html)的开发工作。 <br>使用 ACE的好处 诸多使用 ACE 的好处包括: 增强可移植性:在 ACE ...

Global site tag (gtag.js) - Google Analytics