scientific article; zbMATH DE number 4141460
The book under review studies a famous industrial operating system (PC- DOS) environement attempting to present it as a set of examples of applying important concepts. Thus, learning by industrial examples is used as a paradigm for computing science education. The author ``supplements examples with the concepts and principles behind them and tries to convince the reader that it is necessary to ``deal with those scruffy, homely systems issues for which there are no simple, elegant theories. Many real-life systems are 8still) written in this manner just because an effort to use simple and elegant theories has not been taken. The author states that system software tools include interrupt-driven software, asynchronous communications, multitasking, and window management (regarded as an extension of multitasking). The core of the book consists of appropriately explained program texts for two extended examples - a (mainframe) terminal emulator and a multitasking window system built on top of DOS (for four fixed-position fixed-size windows - an approach long ago considered inadequate, compare [(*) \textit{D. Mark} and \textit{C. Reed} [Macintosh programming primer, Addison-Wesley, 1989]). Almost all of the programs are in C, the remaining ones use assembly language. The book starts with ``some limited information about C. Within this framework, for instance, the syntax of if statements and loops is presented with the same or greater amount of explanation as C idioms of much less trivial nature. In the extensive programs that follow good programming practices are not always supported, e.g.: the validity of user-specified input data (p. 128-129) is not checked; for loops are used instead of while where the latter are most natural; sometimes magic numbers rather than symbolic constants are used in program texts (``6 ticks of clock, p. 193); etc. The overall presentation is very PC-DOS-specific. There is essentially no comparison with other approaches to operating system development. Interesting and powerful novel ideas in microcomputer operating systems and their user interface realized, e.g., on the Macintosh are not considered. (Although ``the book is intended to be a standalone book, the reader should know the architecture and assembly language for 8086/88 and use IBM manuals to which the author heavily refers.) Operating systems concepts are too often shadowed by a mass of detail about PC-DOS and hardware. For instance, low-level scheduling (not named as such) is first explained in ``Features of 8259A (Chapter 4), using system- specific terminology, and only later considered in more general manner. On the other hand, the clear presentation of a circular bounded buffer using an invariant (pp. 130 ff.) - the only place in the book where invariants are used! - is a pattern to follow, except that the user is not informed about the buffer overflow. The only non-PC-DOS-specific Chapter 6 (15 pages) deals with some operating system and windowing concepts. It provides good references, but not always explicitly stresses principles. The presentation there seems reasonable for the level of the state-of-the-art in the beginning of the 70s, and is worse than in [(**) \textit{C. A. R. Hoare} and \textit{R. H. Perrott} (Eds.), Operating systems techniques, Academic Press, 1972]. Throughout the book, the student is taught how to improve a particular implementation or develop another system just like the existing one, but not how to abstract and therefore to invent. In order to understand a complex system, the author starts ``by studying its data structures (p. 176). This approach may not lead to success because abstract operations are not explicitly considered, and therefore concerns of precise spectification and implementation are not adequately separated throughout the text. A partial explanation may be due to the fact that the programs in the book are written on top of PC-DOS and use its facilities. The system is monolithic rather than layered [(**)]. The author sometimes explicitly tries to avoid less than excellent or unclear features of this operating system, and his arguments may be useful for the reader. Although the underlying concepts of PC-DOS are not examined, the system is not consistently viewed as a black box (having compatible internal run-time structures is regarded as an unacceptable drawback for a set of processes to be run on a system, p. 151) The user interface is dealt with only in the final Chapter 9 which does not mention the crucial importance of a single, simple and consistent interface for all applications. For a counterexample of a good system-specific (and also C-based) text, see [(*)]. In discussing the state of computing in the 60s, E. W. Dijkstra noted that a serious effort was needed in order not to transform it into the study of OS/360. He noted also that, fortunately, this study was relegated to a different subculture - the one of the commercial training circuit. At the same time, books like [(**)] have shown the way of understanding and building correct, simple, and elegant operating systems. Industry did not always follow these ideas, with well-known consequences exemplified - up to a point - in the book under review.
This page was built for publication:
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3474263)