DDJ Book Review (2003.11): Unix Zen and Now

zhaozj2021-02-08  211

Review by Jack J. WOEHR

CopyRight (C) Dr. Dobb's Journal, November, 2003

The white-robed roshi and juvenile shaved-head monk on the cover suggest that Eric Raymond probably intended to call his book "The Zen of UNIX Programming." Cooler editorial heads prevailed and we ended up with The Art of UNIX Programming.

Though Raymond covers everything from operating-system origins (including IBM / VM and DEC VMS) and HTTP, C, Lisp, and C , to Docbook and CVS (and every blessed thing beyond and between), The Art of UNIX Programming is not a TUTORIAL.

Raymond rambles through a bizarre exposition of what he finds to be the "kozmik trooths" of the UNIX programming environment. If you're actually trying to learn UNIX programming, this is the wrong book. To the extent the book has focus, the focus IS Something Like this:

Eric drove the Reader's chariot out onto the Field of UNIX. They stood for a while between the two armies of the Ideal and the Necessary. The Reader threw down his keyboard and said, "I shall not fight!" Eric then expounded the True Nature Of the programming field, The knower and the knowledge, picked up his keyboard afresh and coted on.

In Case you think I'm stretching the point, here area, mind you-to give you some of the savor of the opus:

TCP / IP and the UNIX Wars: 1980-1990 Blows Against the Empire: 1991-1995 Case Study: C Considered as Thin Glue Security Wrappers and Bernstein Chaining Case Study: Metaclass Hacking in fetchmailconf The "Separated Engine and Interface" Pattern The Present. Chaos and the Possible Way Out

The book is always informative, albeit in a patchwork fashion. Raymond palms off metaphysics as computer science and confounds aesthetics with epistemology as well as any of us FORTH programmers did a couple of decades ago. He also manages to broaden the reader's perspective, in a critique that sports a literary sheen. It would be a more intellectually uplifting workplace if more gifted programmers were as erudite as Raymond, though it is possible in that case that less actual work would be performed.The Art of UNIX Programming settles down around Chapter 14 (Languages) or 15 (Tools), and starts giving some practical programming advice. In this book much is true and much is good. The reading of it does serve to stimulate the imagination and the pride of communal ownership of the UNIX Ideal.

In contrast, UNIX Systems Programming: Communication, Concurrency and Threads, by Kay Robbins and Steven Robbins, is not at all a fanciful book It's about How To Program UNIX Emphasis on multiprogramming......

UNIX Systems Programming is as dry as (or drier than) a Sun Microsystems manual, and typeset identical to Sun publications, just in case the point was otherwise missed It's the second edition of the 1995 opus Practical UNIX Programming:. A Guide to Communication, CONCURRENCY AND MULTITHREADING. We're Informed In The Preface That Title Was Changed "To Better Convey [SiC] What The Book WAS [SiC] About."

UNIX Systems Programming is nerdly arcana for corporate staff programmers. That's why I was surprised the authors missed an important point about threading. Thread implementations are mined with guarantees that functions will appear in libraries whether they have the desired effect or not. The function pthread_attr_setschedpolicy ( ) has tripped up programmers before: POSIX insists it appear in a compatible library without demanding that it actually perform its specified work Solaris pthread programmers know to #ifdef for Solaris and use the nonportable platform function thr_setconcurrency () UNIX Systems Programming is detailed,.. indexed, cross referenced, generally accurate, useful, enduring, attractive, and hardbound. If you do serious UNIX programming and do not yet have a complete overview of pipes and / or sockets and / or exec calls and / or POSIX threads, this book Is A Good Bet, But aclose Perusal of Your System Manuals Will Still Be Necessary.

Absolute OpenBSD: UNIX for the Practical Paranoid, by Michael Lucas, is the book all newbies exploring one of the free or open-source community's most secure and austere operating systems have long demanded It is the "missing manual" to obtaining, installing,. Used from the faqs at The openbsd web site (http://www.openbsd.org/) And All of It Has Been Asked, Over And over Again, ON The Mailing Lists . Absolute OpenBSD is nicely written, organized in the order newbies need during install, cleanly laid out, and well indexed. New users should buy the book at the same time they buy the OpenBSD distribution CD. Because, if it's half as good as I 'm saying it is, Absolute OpenBSD will save newbies weeks of anguished whining on the mailing lists.The Art of UNIX Programming Eric S. Raymond Addison-Wesley, 2003 512 pp., $ 39.99 ISBN 0-13-142901-9

UNIX Systems Programming: Communication, Concurrency and Threads, Second Edition Kay A. Robbins and Steven Robbins Prentice Hall, 2003 912 PP., $ 69.99 ISBN 0-13-042411-0

Absolute OpenBSD: UNIX for The Practical Paranoid Michael W. Lucas No Starch Press, 2003 600 PP., $ 39.95 ISBN 1-886411-99-9

转载请注明原文地址:https://www.9cbs.com/read-17.html

New Post(0)