Looking at the mountain outside the mountain - Review the art of unix cotramming

xiaoxiao2021-03-06  114

Beyond Mountains mountains comment The Art of Unix Programming Author: Sese http://blog.9cbs.net/sese

Disclaimer: This article is published in the 9th issue of programmer this year, slightly free, non-via the magazine and author written permission, do not discount some or all content without authorization.

In the beginning of the last century, the British reporter Stron genius combined with something in the internal combustion engine, track, weapon and armor, the wind, the ricks, invented the tank - the steel fortress that can be attacked while moving. On the French battlefield, the German soldiers were defeated by this seemingly cumbersome, and the festival was defeated. Among many important battles in the late World War, the tanks have repeatedly built a strange job, and in a sense, the landscape of a battle is respectful, and is honored as "the king of weapons". After many years, when we see the tank again, it will definitely not be like the people of the year, and the big inventions of the grenado can add armor crawler. This seems to be "listening to the sound of the Thunder, the shape of the Temaishan" (Liu Wei, "Li De 颂"): People will always feel that there is already, and the things habitually sparse, insufficient As a result, it seems that it is just a chance to stay in the colleach of Stri, there is a general name in Stri.

Today, when we are sitting in the UNIX character terminal, we are used to redirectize the input and output of several simple UNIX programs in the pipeline, complete complex tasks (for example, I will find compilation errors in the prompt of Make, will The results are saved to the specified file or send it to the printer), and it seems that no one will learn what these simple "|", "<", ">" symbols have learned. Su Dongpo's poetry wrote, "I don't know the true face of Lushan, I only have a hill in this mountain". The greatness often contains us in the ordinary in the Unix system "this mountain", and everything in this mountain seems to have learned often, and it is difficult to see clear "Real End" - Experienced the wisdom of UNIX designers. . Eric S. Raymond This book The Art of Unix Programming (hereinafter referred to as TAOUP) is to bring the reader to stand straight, overridden incense burner, open the cloud fog, a list of unlimited scenery of thousands of miles away.

TAOUP author Eric S. Raymond (He always likes the code of ESR for his own), almost, is almost important to the most famous hacker on the earth. As the main compiler and maintainer of "hacking dictionary", he is considered to be a "historian" and "anthropologist" of hacker culture. It is also a hacker who is most sought after by mass media. After 1997, Raymond was involved in the development, raymond and gradually ranked among the leading character of the open source movement with the great open source code. The so-called "Time Heroes", and due to the spiritual leader of open source movement, Richard Stallman is too extraordinary, and it is a bit "sensitive" but "Nea", after he is open for open source sports, it has not been able to It is said that the open source movement will be further theoretical. History has chosen raymond, which will give him a life to open the theoretical basis. Raymond has published five elaborations represented by the famous open source and sports charters "Cathedral and the market", which have a fundamental impact on open source communities. I only spread it in the domestic campus online "Revolution Os" in the "Revolution Os" in the "Revolution Os", and his voice smile really lets people fall below the glasses, and it is not as good as Stallman "shake" has a standard hacker. The outer surface, the entire standard US middle-aged blue-collar labor image, which is difficult to link his amazing book and remarks, this is the old saying that "people are unpopular, the sea is not strong". Raymond's work was published by Addison-Wesley in September 2003 by Addison-Wesley in September 2003. The writing process has laminated five years. After the electronic version of "Beta Test", it finally finalized, and there were no ten times before and after. Raymond was quite Cao Xueqin, "Stone Remember", "sharing ten years, increased five times", this professional spirit is really going to make the authors of the two months of the IT book. TAOUP booking 560 pages, divided into four parts of 22 chapters, four parts: context, design, implementation, and community (commun), introduced UNIX History and philosophy, UNIX system design principles and patterns, programming languages, development tools on UNIX, and unique UNIX community culture. The book is clear, and it is said that "the philosophical idea" is explained in detail, and then explains the "design policy" under philosophical guidance. Subsequently, some "forms of realization details" must be achieved, and finally meet the readers. " I watched the egg and wanted to see the egg, "Qian Zhongshuo) is curious, and it is interested in the community of UNIX developers and unique community culture.

In fact, it is better to say that TAOUP is a UNIX technology book. It is better to say that this is a philosophical book and historical book on UNIX technology. This can be seen from the publisher special selection of Chinese Zen style cover. In an interview with the free writer Robert Mcmillan, "To tell the UNIX application programming interface and how to complete the low-level details of the work, more about design patterns and the high-quality doctors should be high in some special way. Hierarchical content. "At this point, I think Raymond is quite successful: as a technical book" UNIX Programming ", the book almost does not see a source code, the author has always been a technology historian and technical philosophy. The family's position, with the language with literary temperament, make people like a spring breeze and not bored. I even bought a big joke because I read this book, I read the TAOUP I just bought in the airport. I missed the time of the change of the machine, I had to change the flight, I had to change the next day, I have to go to my tap. Inside this ticket, a ticket to the renovation, both for bookmarks, and give yourself a fun memories.

The whole book is the most worth reading of the second part about UNIX system design. It is also the focus of the book. Raymond summarizes the ten basic principles on UNIX system design. Sense is: MODULARITY, Textuality , Transparency, MultiProgramming (Multi-process), Minilanguages, Generation, Configuration, Interfaces, Optimization, Complexity (complex). The first reading of these chapters seems to be plain. These principles look like old growth, but as Raymond's schematic is explained and certified, the reader always has a kind of "original" to suddenly feel exciting. TAOUP is the most special in writing style. Raymond immediately listed an example of several UNIX systems immediately, but the selected example not only vividly evolved, the author's summary about UNIX The principles or models have deepened the readers' understanding, and many readers broadened the knowledge of UNIX and learned that many Unix features or software tools that were not familiar. I believe that there are not a few people who are familiar with the unix fields and Raymond compared to Raymond, and his recommendation is realistic. At the same time, Raymond is equivalent to the sense of the example, which can not only explain the problem in a needle, and it will not be able to reproduce. From the perspective of the pattern, the author summarizes these principles constitute the pattern language of the UNIX system, which not only affects the construction of the UNIX operating system, but also affects all applications on UNIX, but the user of the UNIX platform, I don't know During the feeling of obscenity between these model languages, when they design new software systems, they often use these pattern languages. In this book, readers will find such facts, in many non-Unix software design ideas, in fact, it is still in the principle of these models of UNIX systems. Therefore, the reader of this book is not limited to UNIX system users, and each programmer can benefit from it. Another feature of this book is its encyclopedic Board and Pang, Raymond With his unbeatable familiarity, like a senior tour guide, there is more exciting readers in the UNIX system Ground in the garden. Several efforts, sometimes various development tools, sometimes inventory of many document formats, such as numbers are generally related to the components of the UNIX system. If there is no reader in UNIX experience, I am afraid it is like Liu Wei's general feeling; and if you live in Unix like me, I still find that I have always Ignore many big garden. Scenic. When Raymond is open for you, the reader can't help but wake up like a dream.

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

New Post(0)