|
|||||||||||||||||||||||||||||||||||
|
64 Reviews
|
Average Customer Review
Share your thoughts with other customers
Create your own review
|
|
Most Helpful First | Newest First
|
|
140 of 146 people found the following review helpful:
5.0 out of 5 stars
A rarity - a great computer book.,
By
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
The computer industry is notable for the huge quantity of really bad books it engenders. This, however, is not one of those books - this is a great book. Before explaining why it is great, I'd like to get the table of contents out of the way, so that you will know what it covers:Preface 1. Introduction (a "whirlwind tour of Unix") 2. Unix Standardization and Implementations 3. File I/O 4. Files and Directories 5. Standard I/O Library 6. System Data Files and Information 7. The Environment of a Unix Process 8. Process Control 9. Process Relationships 10. Signals 11. Terminal I/O 12. Advanced I/O 13. Daemon Processes 14. Interprocess Communication 15. Advanced Interprocess Communication 16. A Database Library 17. Communicating with a PostScript Printer 18. A Modem Dialer 19. Pseudo Terminals Appendices A. Function Prototypes B. Miscellaneous Source Code (all source code is available for download) C. Solutions to Selected Exercises Bibliography Index The first thing to understand about the book is that while it can be used as just a reference work (the index is wonderful), it really is a book you can and should read. Even if you think you know a lot of this stuff, you can be surprised at what you can still learn. What makes the book so much more useful than just a collection of man-page print-outs (that dreary and painfully common form of UNIX "book") is the method of presentation. Stevens' basic atom of organization is the function call. For each call (or minor variations on a single call), he provides the C prototype, and then, in text, explains what the function does, what it's arguments are for, and then typically provides a small C program that demonstrates it in action, which he then explains. These function-level building blocks are arranged into related sets, each of which is a chapter in the book. Each chapter has a wrapper that consists of an introduction explaining some basic concepts and history of the functions described in that chapter, and some review exercises at the end. The chapters themselves are arranged so that the earlier chapters describe the basic functions, and the later chapters describe the more difficult functions. Every chapter both teaches the reader something of immediate use in writing code (even the introduction has sample programs), as well as preparing him for the more difficult subjects that lie ahead. Now for the caveats. Stevens absolutely assumes that you know how to program in C and that you know how to use Unix development tools (or at least that you have some other source from which to learn them). This is not the book to learn how to use C or particular shells, editors, compilers, linkers, or debuggers. Similarly, new Unix variants, such as Linux and MacOS X, receive no specific mention here at all (though the book is invaluable for both). Also, there is no discussion of the various GUI interfaces offered on many current Unix systems - for those, some other book will necessary. One other thing worth mentioning is the cost of the book. Don't be put off by it - Stevens' book has been justifying that cost for a lot of readers for a lot of years. In closing, I've been a developer for many years and have owned many computer books. I recommend very few of them, but can't recommend this one highly enough. It is one of the few books I've had that routinely lies open beside me when I work. In addition to my personal recommendation, you might look not only at all the positive reviews for this book, but also at the reviews for "competitive" books and notice how often they refer you back to this one. This book is the standard by which other UNIX programming books are measured, and so far, it has not been surpassed.
28 of 28 people found the following review helpful:
5.0 out of 5 stars
Simply the best, too bad no place for 6th star.,
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
This is simply the best book that teaches you about Unix system level programming. Almost all system calls are explained in great details along with very comprehensible examples. The author made a claim that this book is not a mere repetition of Unix Programmer's Manual as the manual lacks logic and examples which this book provides. I think he really lived up to that claim.Many difficult topics are made so easy to grasp, sometimes I think this book should be retitled "Advanced Unix Programming Made Easy". The explanation are smooth with pointers to previously discussed concepts just in case you're lost. Each chapter comes with a number of exercises to try your understanding of the chapter, and most of the answers are available in the appendix of the book so this book is also great for self-learners. Before reading this book, I have read "Advanced Unix Programming" by Marc J. Rochkind, and I was confused by many things the guy said in the book plus the code is pretty outdated already and this book just filled in the gaps I had. The explanation is not geared towards any flavor of Unix, but pretty much all the mainstream Unix flavors such as BSD, SVR4, etc. So that gives a pretty wide horizon of view into Unix in general. I'm personally very impressed with his explanations on signal concept and concurrency controls. This book will provide a solid background for anyone wishing to become Unix/Linux kernel hacker. An investment worth every penny. Beware though, you must have a solid C programming background if you want to reap the maximum benefit out of this book. I found out that it's also a good idea to have K&R "C Programming Language" book around just in case you got confused with pointers, arrays and friends. This guy knows exactly what he is talking about and he expects you to know enough to understand him.
17 of 18 people found the following review helpful:
5.0 out of 5 stars
Nothing better than this book.,
By Berk Demir (Turkey) - See all my reviews
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
The only complete reference for programmers working in the UNIX enviroment. Not just a reference book but a very well guide to learn fundamentals of UNIX programming. Everything you want to know about UNIX programming. Signal handling, file system, I/O and lots of other chapters about advanced programming with UNIX. If you're looking a book to develop "real" advanced apps. or to join the development of Linux kernel and other open system projects, this is the FIRST book you must buy...It's sad to say this but the author of this book; the big guru, Richard Stevens is nomore with us. rest it peace guru...
14 of 15 people found the following review helpful:
5.0 out of 5 stars
Excellent book on UNIX programming,
By A Customer
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
It is only book I have seen that illustrate unix programming so clear and so detail. Mr.stevens makes many difficult fetures of unix to easy grasp.In the book ,author describes more than 200 system calls and functions;a brief example accompanies each description. Building upon information presented in the first 15 chapters, the author offers chapter-long examples teaching you how
to create a database library, a PostScript printer driver, a modem dialer, and a program that runs other programs under a
pseudo terminal. To make your analysis and understanding of this code even easier, and to allow you to modify it, all of
the code in the book is available via UUNET.
8 of 8 people found the following review helpful:
5.0 out of 5 stars
One of Two Must-Have UNIX Books,
By
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
This is one of two must-have UNIX books ("UNIX Network Programming" and "Advanced Programming for the UNIX Environment"). After I had been using UNIX for a long time and was getting into more advanced UNIX programming about a decade ago, these two books were recommended. I checked around and made comparisons. Sure enough, I had to agree. I bought both of them and use them a lot, even when doing Windows programming.As an example, I had to reference them again this weekend. I am using Visual Basic and C++ under Windows to connect some UDP/IP communications between applications. Once again, these books were indispensable (even after looking at online help, Google, Microsoft Knowledge Base and Experts-Exchange). Any Internet professional should have both of these books on their shelf.
16 of 19 people found the following review helpful:
5.0 out of 5 stars
Excellent but outdated,
By Brandon Fosdick (USA) - See all my reviews
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
All of the other reviews are right, this is an excellent book. Unfortunately the book was written in 1992 and the world of Unix has changed substantially in the last 8 years. While still relevant, the book must be supplemented by the latest documentation for your target OS.
7 of 7 people found the following review helpful:
5.0 out of 5 stars
The best reference for C programming under Unix Environment,
By A Customer
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
This book is the most complete reference about C programming under Unix Environment. It not only tells you how to use system calls, but also teaches you how the system calls actually works. Although it's written almost a decade ago, all contents are compliant to POSIX 1. So it's still useful to any *n*x operating system that are compliant to POSIX. If you will write programs that run under unix like system, this book is a must have.
7 of 7 people found the following review helpful:
5.0 out of 5 stars
Excellent for novices and advanced users alike.,
By R E (Hell) - See all my reviews
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
Well, this is one of those rare books (like "Applied Cryptography") which manages to cover all aspects of the material, but also makes it easy for novices to understand. I'd suggest having a fairly thorough background in C before you try this book. However, you don't need a deep knowledge of UNIX to understand it!After you get this book, you may want to do some socket (internet) programming. Since this book doesn't cover sockets in depth, I'd recommend (as a complement), "UNIX Network Programming, Volume 1: Networking APIs - Sockets and XTI " also by W. Richard Stevens.
7 of 7 people found the following review helpful:
5.0 out of 5 stars
The best unix programming companion,
By A Customer
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
Being an engineer and writing software on unix platforms, this book has been my constant companion. It gives a good understanding of the structures and system calls on unix platforms.The book goes straight to the point and the related text is kept to the minimum. This makes it a great reference book while programming. Along with unix man pages, it is the only book you'll require for unix system programming.
6 of 6 people found the following review helpful:
5.0 out of 5 stars
This Book is A Must Read!,
By wodonnel@computer.org (Virginia, USA) - See all my reviews
This review is from: Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) (Hardcover)
Advanced Programming in the UNIX Environment is one of the best programming books that I have read. Chapters 7 and 8 are outstanding. The book would be worth it just for either of those chapters alone. Surprisingly enough, though, the section which I have referred to the most is 6.9, which discusses date and time routines in C/UNIX; 6.9 is a critical reference on date-time issues. This is truly one of those rare books that you could read multiple times, and it would be worth the time and effort to do so. A good reader will often want to quarrel or wrestle with the observations of a writer; that is not true with this book. With Stevens as the writer, you as the reader will KNOW that he clearly has a complete, total, and utter mastery of this subject; and you, as the reader, will feel compelled to simply learn everything you can that this man has to say about UNIX and C. I highly recommend this book.
|
|
Most Helpful First | Newest First
|
|
Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) by W. Richard Stevens (Hardcover - June 30, 1992)
Used & New from: $0.87
| ||