Mac OS X Internals
A Systems Approach
11 August 2006 Justin Williams Skip to comments
0 Comments
(
Disabled)
Mac OS X Internals is one of the only books to go deep inside Mac OS X and explain how things work behind the scenes. Justin Williams gives you insight into what the book talks about.
When not writing on MacZealots.com, I spend my time writing software and working with Mac OS X. I understand that Mac OS X is built on a BSD core, and I understand the layers that are on top of it. In general, I like to think that I am fairly knowledgeable about everything Mac OS X. Not anymore. Compared to Amit Singh I am but a mere amateur in OS X knowledge, and he proves it in his new book Mac OS X Internals: A Systems Approach.
Topping out at just over 1600 pages, Mac OS X Internals covers just about everything you could ever want to know about Mac OS X. The Amazon synopsis says:
Mac OS X Internals: A Systems Approach is the first book that dissects the internals of the system, presenting a detailed picture that grows incrementally as you read. For example, you will learn the roles of the firmware, the bootloader, the Mach and BSD kernel components (including the process, virtual memory, IPC, and file system layers), the object-oriented I/O Kit driver framework, user libraries, and other core pieces of software. You will learn how these pieces connect and work internally, where they originated, and how they evolved. The book also covers several key areas of the Intel-based Macintosh computers.
A solid understanding of system internals is immensely useful in design, development, and debugging for programmers of various skill levels. System programmers can use the book as a reference and to construct a better picture of how the core system works. Application programmers can gain a deeper understanding of how their applications interact with the system. System administrators and power users can use the book to harness the power of the rich environment offered by Mac OS X. Finally, members of the Windows, Linux, BSD, and other Unix communities will find the book valuable in comparing and contrasting Mac OS X with their respective systems.
Mac OS X Internals focuses on the technical aspects of OS X and is so full of extremely useful information and programming examples that it will definitely become a mandatory tool for every Mac OS X programmer.
The description is definitely accurate. Singh starts the journey into the depths of Mac OS X by investigating the history of Apple’s attempts to replace the original Macintosh OS (remember TalOS?) and then follows with discussion of all the versions of Mac OS X up to 10.4 Tiger. The next chapter outlines the internals of Mac OS X itself, covering topics like firmware, the kernel, software development and security. Singh makes sure to go in depth on each topic he covers leaving the user with almost too much information. This book is definitely not for the faint of heart. For a software developer who needs to know how the underpinnings of the operating system they are writing for, this book is wonderful.
Besides just Mac OS X itself, Singh covers the hardware architecture of Macintosh computers. He breaks down the Power Mac G5 and discusses the G5 processor, the system bus, how it manages memory and more. I should note that throughout the book Singh provides code samples to show what he is discussing. One of the most in-depth chapters I found was his discussion of Open Firmware. Going above and beyong, he explains what Open Firmware is and its purpose in the Mac, but also shows some of the powerful features that were a part of Open Firmware.
If you have ever wondered about the file systems that are a part of Mac OS X, Singh covers the topic exhaustively. In what is a far more resounding review of this book, Dominic Giampaolo said,
This book has to be one of the most comprehensive treatments of any operating system ever. I read through the sections with which I am most familiar (file systems, Spotlight and HFS). The level of detail and understanding expressed in those sections is very impressive. I thought I might find some errors or at least niggling details that weren’t quite right but I could not find any.
Who is Giampaolo? He is one of the fathers of Mac OS X’s Spotlight technology and a part of the OS X file system and Spotlight group.
The only downfall to this book is that it is not entirely up-to-date. There is not much discussion of EFI: the Open Firmware replacement for Intel based Macintoshes. If you want more information on that, you can visit the book’s Web site for more discussion (http://www.osxbook.com/). Knowing a bit about the book publishing business now, I can only assume that since production-ready Intel Macs were first released in January, it was probably too late to include the topic in the book.
Overall, I recommend this book to anyone that wants a deeper understanding of the internals of the Macintosh. If you are a developer, this is a must-have book. I hope that future revisions of the book will include more information on the new Intel Macintoshes. Until then, Singh keeps the topic covered on the Mac OS X Internals Web site.
Book Details
Title: Mac OS X Internals: A Systems Approach
Author: Amit Singh
Date Published: June 2006
ISBN: 0321278542
Buy It Online: Amazon
Justin Williams is founder and chief author for MacZealots. He switched to the Mac almost five years ago hasn't looked back since. When not blogging or coding, you can find him watching copious amounts of TV. Justin can be reached at


