The Art of UNIX Programming (美國原版)
暫譯: UNIX 程式設計的藝術
Eric S. Raymond
- 出版商: Addison Wesley
- 出版日期: 2003-09-23
- 售價: $2,160
- 貴賓價: 9.5 折 $2,052
- 語言: 英文
- 頁數: 560
- 裝訂: Paperback
- ISBN: 0131429019
- ISBN-13: 9780131429017
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$1,029Fundamentals of Data Structures in C++
-
$680$537 -
$650$553 -
$980$774 -
$970Introduction to Algorithms, 2/e
-
$880$695 -
$720$569 -
$650$429 -
$690$587 -
$780$741 -
$590$466 -
$690$538 -
$750$638 -
$490$382 -
$720$569 -
$800$760 -
$560$476 -
$550$468 -
$390$304 -
$490$417 -
$720$612 -
$880$695 -
$650$553 -
$480$379 -
$750$593
相關主題
商品描述
Summary
The Art of UNIX Programming poses the belief that understanding the unwritten UNIX engineering tradition and mastering its design patterns will help programmers of all stripes to become better programmers. This book attempts to capture the engineering wisdom and design philosophy of the UNIX, Linux, and Open Source software development community as it has evolved over the past three decades, and as it is applied today by the most experienced programmers.
Eric Raymond offers the next generation of “hackers” the unique opportunity to learn the connection between UNIX philosophy and practice through careful case studies of the very best UNIX/Linux programs. In addition, commentary is provided by Brian Kernighan, UNIX pioneer and best-selling author; Doug McIlroy, the inventor of the UNIX pipg; David Korn, the inventor of the korn shell; Jim Gettys and Keith Packard, inventors of X windows; Henry Spencer, an original UNIX hacker; and Ken Arnold, an original BSD developer and JINI creator; Mike Lesk, author of the legendary uucp, lex, and tbl programs; and Sturat Feldman, author of UNIX's famous make utility.
The book is divided into 4 parts. Part I explores the philosophy behind the development of UNIX. Part II explores design principles and patterns that are at the core of the UNIX tradition. Part III covers the rich UNIX tradition of reuse and the amazing variety of programming tools available to the UNIX developer. Part IV explores the UNIX open standards process, and the advantage in portability that UNIX enjoys.
Table of Contents
1. Philosophy.
Culture? What culture?
The durability of Unix.
The case against learning Unix culture.
What Unix gets wrong.
What Unix gets right.
Basics of the Unix philosophy.The Unix philosophy in one lesson.
Applying the Unix philosophy.
Attitude matters too.2. History.
Origins and history of Unix, 1969-1995.
Origins and history of the hackers, 1961-1995.
The open-source movement: 1998 and onward.
The lessons of Unix history.3. Contrasts.
The elements of operating-system style.
Operating-system comparisons.
What goes around, comes around.II. DESIGN.
4. Modularity.Encapsulation and optimal module size.
Compactness and orthogonality.
Libraries.
Unix and object-oriented languages.
Coding for modularity.
5. Textuality.The Importance of Being Textual.
Data file metaformats.
Application protocol design.
Application protocol metaformats.
6. Transparency.Some case studies.
Designing for transparency and discoverability.
Designing for maintainability.
7. Multiprogramming.Separating complexity control from performance tuning.
Taxonomy of Unix IPC methods.
Problems and methods to avoid.
Process partitioning at the design level.
8. Minilanguages.Taxonomy of languages.
Applying minilanguages.
Designing minilanguages.
9. Transformation.Data-driven programming.
Ad-hoc code generation.
10. Configuration.What should be configurable?
Where configurations live.
Run-control files.
Environment variables.
Command-line options.
How to choose among configuration-setting methods.
On breaking these rules.
11. Interfaces.Applying the Rule of Least Surprise.
History of interface design on Unix.
Evaluating interface designs.
Tradeoffs between CLI and visual interfaces.
Transparency, expressiveness, and configurability.
Unix interface design patterns.
Applying Unix interface-design patterns.
The Web browser as universal front end.
Silence is golden.
12. Optimization.Don't just do something, stand there!
Measure before optimizing.
Non-locality considered harmful.
Throughput vs. latency.
13. Complexity.Speaking of complexity.
A Tale of Five Editors.
The right size for an editor.
The right size of software.III. IMPLEMENTATION.
14. Languages.Unix's Cornucopia of Languages.
Why Not C?
Interpreted Languages and Mixed Strategies.
Language evaluations.
Trends for the Future.
Choosing an X toolkit.
15. Tools.A developer-friendly operating system.
Choosing an editor.
Special-purpose code generators.
Make in non-C/C++ Development.
Version-control systems.
Run-time debugging.
Profiling.
Emacs as the universal front end.
16. Re-Use.The tale of J. Random Newbie.
Transparency as the key to re-use.
From re-use to open source.
The best things in life are open.
Where should I look?
What are the issues in using open-source software?
Licensing issues.IV. COMMUNITY.
17. Portability.
Evolution of C.
Unix standards.
Specifications as DNA, code as RNA.
Programming for Portability.
Internationalization.
Portability, open standards and open source.
18. Documentation.
Documentation concepts.
The Unix style.
The zoo of Unix documentation formats.
The present chaos and a possible way out.
The DocBook toolchain.
How to write Unix documentation.
19. Open Source.
Unix and open source.
Best practices for working with open-source developers.
The logic of licenses: how to pick one.
Why you should use a standard license.
Varieties of Open-Source Licensing.
20. Futures.
Essence and accident in Unix tradition.
Problems in the design of Unix.
Problems in the environment of Unix.
Problems in the culture of Unix.
Reasons to believe.
A. Glossary of Abbreviations.
B. References.
C. Contributors.
商品描述(中文翻譯)
**摘要**
《UNIX 程式設計的藝術》提出了一個信念:理解未成文的 UNIX 工程傳統並掌握其設計模式將幫助各類程式設計師成為更好的程式設計師。本書試圖捕捉 UNIX、Linux 和開源軟體開發社群在過去三十年中演變的工程智慧和設計哲學,以及當今最有經驗的程式設計師如何應用這些理念。
Eric Raymond 為下一代的「駭客」提供了獨特的機會,通過對最佳 UNIX/Linux 程式的仔細案例研究,學習 UNIX 哲學與實踐之間的聯繫。此外,還有 UNIX 先驅和暢銷書作者 Brian Kernighan、UNIX 管道的發明者 Doug McIlroy、korn shell 的發明者 David Korn、X windows 的發明者 Jim Gettys 和 Keith Packard、原始 UNIX 駭客 Henry Spencer、原始 BSD 開發者和 JINI 創造者 Ken Arnold、傳奇的 uucp、lex 和 tbl 程式的作者 Mike Lesk,以及 UNIX 知名的 make 工具的作者 Sturat Feldman 提供的評論。
本書分為四個部分。第一部分探討 UNIX 發展背後的哲學。第二部分探討 UNIX 傳統核心的設計原則和模式。第三部分涵蓋 UNIX 重用的豐富傳統以及可供 UNIX 開發者使用的各種程式設計工具。第四部分探討 UNIX 開放標準過程及其在可攜性方面的優勢。
**目錄**
1. 哲學。
文化?什麼文化?
UNIX 的耐用性。
學習 UNIX 文化的反對理由。
UNIX 的錯誤之處。
UNIX 的正確之處。
UNIX 哲學的基礎。
UNIX 哲學的一課。
應用 UNIX 哲學。
態度也很重要。
2. 歷史。
UNIX 的起源與歷史,1969-1995。
駭客的起源與歷史,1961-1995。
開源運動:1998 年及以後。
UNIX 歷史的教訓。
3. 對比。
作業系統風格的要素。
作業系統比較。
什麼東西來了又去。
II. 設計。
4. 模組化。
封裝與最佳模組大小。
緊湊性與正交性。
函式庫。
UNIX 與物件導向語言。
為模組化編碼。
5. 文本性。
成為文本的必要性。
資料檔案的元格式。
應用協定設計。
應用協定的元格式。
6. 透明性。
一些案例研究。
為透明性和可發現性設計。
為可維護性設計。
7. 多程式設計。
將複雜性控制與性能調整分開。
UNIX IPC 方法的分類。
需要避免的問題和方法。
設計層級的過程分區。
8. 小語言。
語言的分類。
應用小語言。
設計小語言。
9. 轉換。
基於資料的程式設計。
臨時代碼生成。
10. 配置。
什麼應該是可配置的?
配置的存放位置。
執行控制檔。
環境變數。
命令行選項。
如何在配置設定方法中選擇。
關於打破這些規則。
11. 介面。
應用最小驚訝法則。
UNIX 介面設計的歷史。
評估介面設計。
CLI 與視覺介面之間的權衡。
透明性、表達性和可配置性。
UNIX 介面設計模式。
應用 UNIX 介面設計模式。
網頁瀏覽器作為通用前端。
沉默是金。
12. 優化。
不要只是做點什麼,站著不動!
優化前先測量。
非局部性被認為是有害的。
吞吐量與延遲。
13. 複雜性。
說到複雜性。
五個編輯器的故事。
編輯器的合適大小。
軟體的合適大小。
III. 實作。
14. 語言。
UNIX 的語言百花齊放。
為什麼不選 C?
解釋型語言與混合策略。
語言評估。
未來的趨勢。
選擇 X 工具包。
15. 工具。
一個開發者友好的作業系統。
選擇編輯器。
特殊用途的代碼生成器。
在非 C/C++ 開發中的 Make。
版本控制系統。
執行時調試。
性能分析。
Emacs 作為通用前端。
16. 重用。
J. Random Newbie 的故事。
透明性是重用的關鍵。
從重用到開源。
生活中最好的東西是開放的。
我應該去哪裡找?
使用開源軟體的問題是什麼?
授權問題。
IV. 社群。
17. 可攜性。
C 的演變。
UNIX 標準。
規範如同 DNA,代碼如同 RNA。
為可攜性編程。
國際化。
可攜性、開放標準與開源。
18. 文檔。
文檔概念。
UNIX 風格。
UNIX 文檔格式的動物園。
當前的混亂與可能的出路。
DocBook 工具鏈。
如何撰寫 UNIX 文檔。
19. 開源。
UNIX 與開源。
與開源開發者合作的最佳實踐。
授權的邏輯:如何選擇一個。
為什麼應該使用標準授權。
開源授權的多樣性。
20. 未來。
UNIX 傳統中的本質與偶然。
UNIX 設計中的問題。
UNIX 環境中的問題。
UNIX 文化中的問題。
相信的理由。
A. 縮寫詞彙表。
B. 參考文獻。
C. 貢獻者。