Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
62 used & new from $34.22

Have one to sell? Sell yours here
 
   
Mac OS X Internals: A Systems Approach
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Mac OS X Internals: A Systems Approach (Hardcover)

by Amit Singh (Author) "The Mac OS X operating system represents a rather successful coming together of paradigms, ideologies, and technologies that have often resisted each other in the..." (more)
Key Phrases: blue box, bootstrap server, distributed objects, Open Firmware, Interprocess Communication, Plus File System (more...)
4.7 out of 5 stars See all reviews (25 customer reviews)

List Price: $88.99
Price: $67.19 & this item ships for FREE with Super Saver Shipping. Details
You Save: $21.80 (24%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
34 new from $34.33 28 used from $34.22
Juice Up Your iPhone
Create your own iPhone applications with key titles in Cocoa, Objective-C, and more.

Frequently Bought Together

Mac OS X Internals: A Systems Approach + Cocoa(R) Programming for Mac(R) OS X (3rd Edition) + Xcode 3 Unleashed
Price For All Three: $130.17

Show availability and shipping details

  • This item: Mac OS X Internals: A Systems Approach by Amit Singh

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Cocoa(R) Programming for Mac(R) OS X (3rd Edition) by Aaron Hillegass

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Xcode 3 Unleashed by Fritz Anderson

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Advanced Mac OS X Programming (2nd Edition of Core Mac OS X & Unix Programming)

Advanced Mac OS X Programming (2nd Edition of Core Mac OS X & Unix Programming)

by Mark Dalrymple
4.2 out of 5 stars (8)  $44.09
Xcode 3 Unleashed

Xcode 3 Unleashed

by Fritz Anderson
3.1 out of 5 stars (17)  $31.49
Programming with Quartz: 2D and PDF Graphics in Mac OS X (The Morgan Kaufmann Series in Computer Graphics)

Programming with Quartz: 2D and PDF Graphics in Mac OS X (The Morgan Kaufmann Series in Computer Graphics)

by David Gelphman
4.6 out of 5 stars (10)  $61.58
Step into Xcode: Mac OS X Development

Step into Xcode: Mac OS X Development

by Fritz Anderson
3.5 out of 5 stars (6)  $40.14
The Mac Hacker's Handbook

The Mac Hacker's Handbook

by Charles Miller
4.2 out of 5 stars (4)  $31.49
Explore similar items

Editorial Reviews

Review

 "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."--Justin Williams, Founder, Maczealots.com

 

"It's a book that every administrator and developer of almost any kind of hardware and software would want to own. It explains the how as opposed to the what of OS X more clearly, thoroughly and intelligently than any other book on the market."--Mark Sealey, Contributing Editor, ThinkSecret.com



Product Description
Mac OS X was released in March 2001, but many components, such as Mach and BSD, are considerably older. Understanding the design, implementation, and workings of Mac OS X requires examination of several technologies that differ in their age, origins, philosophies, and roles. 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.

See all Editorial Reviews

Product Details

  • Hardcover: 1680 pages
  • Publisher: Addison-Wesley Professional (June 29, 2006)
  • Language: English
  • ISBN-10: 0321278542
  • ISBN-13: 978-0321278548
  • Product Dimensions: 9.4 x 7.4 x 2.6 inches
  • Shipping Weight: 5.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars See all reviews (25 customer reviews)
  • Amazon.com Sales Rank: #73,210 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #25 in  Books > Computers & Internet > Apple > Mac OS X
    #98 in  Books > Computers & Internet > Operating Systems > MacOS

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(7)
(6)
(4)
(3)
(2)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

25 Reviews
5 star:
 (22)
4 star:    (0)
3 star:
 (2)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (25 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
107 of 109 people found the following review helpful:
5.0 out of 5 stars Outstanding book - indispensable for all Mac programmers, June 27, 2006
I had the opportunity to review the draft manuscript of Amit Singh's Mac OS X Internals book. With so many different types of operating systems books out there, let me try to place the book to give a better idea what to expect. There are general introduction books that normally introduce the operating system to the reader, without explaining what is actually going on. We have concept books (I put "The Design and Implementation of the FreeBSD Operating System" in this category) which are usually a good introduction to a new system. I used to be a great fan of this type of books, and I still enjoy reading them, but I don't anticipate much new from them. The fact is that operating systems today differ not that much in concepts and abstractions but more in their implementation. Then we have the kernel programming books that either cover the kernel programming in general, like Linux Kernel Internals, or focus on specific parts of the kernel, like Linux Device Drivers.

The Mac OS X Internals book falls into a category that I call OS Internals books category. Books in this category (like the popular Inside Windows books) are similar to the concept books in the sense that they are not focusing on solving some predefined problems, but rather share knowledge. They differ from the concept books in that they approach the concepts from implementation point of view. In recent years I have become a great fan of this type of books. Books in this category are both very enjoyable for anyone interested in the OS but also very useful for application developers.

Actually Amit's book does start off as more of a concept book, and in the first part of the book he gives a great overview of the Mac OS X system, which should be an interesting read even for people not using Mac, but with general interest in operating systems. I found it particularly interesting to read because OS X is so different from other operating systems I know and love, like Linux and Solaris. We've all heard how Mac OS X is built on top of the Mach kernel, uses large parts from BSD, supports backward compatibility via the Carbon API, etc. Not until I had read the first part of this book I fully understood how all the pieces fit together.

In my opinion the first two chapters are rich enough in content and interesting and fun to read for me to recommend this book to anyone interested in operating systems, regardless if they will ever do any programming on a Mac.

The remaining parts of the book cover OS X in a logical order, from the bottom up. Since the book is more focused on educating the reader of how things work rather that trying to teach how to do some particular task (like a network programming book would do) it is important to realize that the book is covering a lot of content, which may not all be of interest to you. If you are more interested in some particular area it is probably wise to jump directly to the appropriate chapter.

The book covers a lot, including the xnu kernel, the boot process, and the role of the firmware. It covers typical OS topics, like processes, virtual memory management, IPC, file systems, and the I/O Kit. What made these chapters especially interesting was to see exactly what part the Mach kernel plays here.

While reading the book I have to say that I have become a great fan of Amit's style. He manages to find a good balance between breadth and depth in his coverage, while keeping the text interesting. Each chapter covers each topic to a reasonable level. He achieves the depth by carefully selecting parts where he drills in quite extensively. Here he uses examples to clarify things. His examples are almost all excellent, both usually short, and to the point. The examples both lend the reader a first hand experience with some low level concepts, but also work as a starting point for the reader to actually try out things for themselves. Amazingly the examples usually don't require anything special beyond the normal dev setup. Meaning, you don't have to do any kernel programming to run most of the examples, which is great for application programmers like me.

After reading this book, I can recommend this book to anybody interested in operating systems and to all developers for the OS X system. OS enthusiasts will get a great overview of the Mac OS X system which will allow them to compare OS X to their own system, be it Linux, Windows, or Solaris. OS X application developers will probably gain the most from this book. This is not a kernel programming book but a book that builds up a strong base for application programmers. Whereas the book is not directly covering any specific class of API, Cocoa, Carbon or POSIX, it builds up a very strong base. For example, after reading the IPC chapter, things like Cocoa notification, Cocoa tasks and threads, remote objects, all become very clear. It will also make it much easier for anyone familiar with for instance Carbon or POSIX to move to Cocoa, because you will understand the common part of the API you know and the new one. Finally, for anyone doing anything advanced in Mac OS X, this book is a must have.
Comment Comments (2) | Permalink | Was this review helpful to you? Yes No (Report this)



 
46 of 46 people found the following review helpful:
5.0 out of 5 stars Essential for really understanding how Mac OS X works, July 6, 2006
This book is essential for anybody that wants to understand the inner workings of Mac OS X, which should include all serious OSX software developers. This book is also a must read for any technical users of OSX, in order for them to know what's really underneath the covers, even when they are not writing software for OSX.

I am the second type of reader: I am a researcher with Microsoft Research, where I work mostly on operating-systems related topics. However, at home, I've had machines running OSX since version 10.0, and I have been waiting for somebody to write this book since then. (In fact, I was eager enough to review portions of an early draft of this book.)

The published book is a bit daunting, at over 1600 pages (bound in a sturdy format, which should tolerate heavy use). However, as quickly becomes clear, it covers a complex topic in such substantial detail that it is hard to see how it could be shorter. Also, given the book's size, and the amount of material it covers, the price seems very reasonable.

Fortunately, despite its size, the book is well structured and has a good index, so information is easy to find. Also, the book is written in an highly readable style, which helps the reader maintain attention. As a result, the book is quite pleasant to browse and read a few dozen pages at a time (as I've been doing for a while, as light bed-side reading).

One of the reasons this book is so useful is that, even more so than other modern operating systems, OSX is a complex mix of new and legacy technologies, both proprietary and open source. So to understand OSX, one has to understand parts of Mac OS 9, Mach, BSD Unix, NextStep, GNU/Linux as well as technology novel to OSX. This book does a good job of covering all of these influences, and give enough historical background to understand why OSX is like it is. Of course, it is possible to successfully use OSX as a "Unix", without knowing about other APIs or subsystems---however, this makes it impossible to use much functionality, and to truly understand the entire system.

This book covers most essential OSX abstractions and concepts, much like the Magic Garden Explained does for System V, the "red daemon" books do for BSD, and the Windows Internals books do for NT. So, the reader will know how scheduling, memory management, synchronization and inter-process communication works, how Mach tasks relate to processes, and other such essentials.

Some of the other operating system books (e.g., the BSD books) relate what they discuss to particular files and functions of the source code. As far as I can tell, this book does this to an unprecedented extent, describing in detail the Darwin sources for OSX and how they implement the concepts being discussed. In particular, for important system aspects, such as booting and initialization, and scheduling, the data and control flow between source functions is given in complete detail. So, for anybody wanting to explore the Darwin sources, I would think this book would be an invaluable guide.

Another striking property of this book is its detailed "programming examples", for which full source code is usually given. These make the book feel much different than other concepts books, as the author clearly likes to get "down and dirty" and play with the aspects of the system that he describes. The examples range from the incredibly useful (such as user-mode install and control of device drivers) to the highly esoteric (a custom boot GUI in Open Firmware). Some of the examples, such as the one on OSX virtual-machine-monitor interfaces, are likely the only place one may find information and working code for powerful OSX features. These "examples" are typically the basis for interesting system utilities, and in combination with the book's website (osxbook.com), they remind me of how the SysInternals utilities and source code have helped make Windows internals much less mysterious, and enabled much advanced systems work for Windows.

It is worth stressing again that the book is amazingly detailed on a number of topics. For example, it covers the hardware and system initialization of OSX in great detail, in particular for PowerPC and Open Firmware. Also, one could say there is a "mini book" on filesystems, with around 250 pages dedicated to OSX filesystems and the detailed inner workings of HFS+. Much of this information is not available anywhere else in a accessible form for an OSX audience, as far as I know.

Finally, the book has the website http://osxbook.com (formerly kernelthread.com) that is frequently updated with interesting new stuff. There is already lots of bonus material (and sources) on this website. In fact, I keep seeing the website cited in slashdot postings, as the author releases new utilities etc. If you like the articles etc. on that site, you will almost certainly enjoy this book. Also, having the book will make it easier to understand the source for advanced OSX tricks and utilities, both those at osxbook.com and elsewhere.

A notable omission in the book is that it doesn't have much of a discussion of the internals of OSX networking (although it says it is much like that in BSD). I was somewhat surprised when I noticed this, but I guess that the book is as thick as it can be at 1600 pages. Hopefully the book's author will be posting bonus material about OSX networking on the book's webpage, which will make the treatment truly comprehensive.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
73 of 77 people found the following review helpful:
5.0 out of 5 stars Most Impressive!, July 10, 2006
By Dominic B. Giampaolo (Mountain View, CA.) - See all my reviews
(REAL NAME)   
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.

Perusing the other sections of the book I even found that I learned a few things. The depth and breadth of this book make it a must-have for anyone involved in MacOS X programming (IMHO). Even if you're not a kernel programmer, there are many details and pieces of information that explain how and why things work the way they do.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Kindle version has broken formatting
The book itself is great, however the Kindle version of this book is unable to display the frequent inserts/sidebars that occur in the text. Read more
Published 4 months ago by Steven Frank

2.0 out of 5 stars Disappointing.
Honestly I haven't found a single useful scrap of useful information in this massive tome. For example I needed info on a few internals like the Quartz Event Services and found... Read more
Published 5 months ago by John A. Marcovitz

5.0 out of 5 stars Very Well Written
I'd been meaning to buy this book for over a year and was not disappointed. It is very well written, easy to understand and goes quite into depth regarding OS X.
Published 17 months ago by James M. Schorr

5.0 out of 5 stars An excellent and informative book
I enjoyed the writing style of the author, well presented information with bits of humor to keep it interesting. Read more
Published 18 months ago by Ronald M. Colbert

5.0 out of 5 stars Amazing work
This well written books contains everything you need to know about the internals of Max OS X. This book is enormous and really goes deep into the internal of the OS. Read more
Published 18 months ago by E. Weber

5.0 out of 5 stars The one and only OS X reference tome.
This is analogous to the Windows Resource Kits for OS X, only better. The many examples, most using some sort of code to make their point, combined with the depth of topics... Read more
Published 19 months ago by Thatcher Dryden Jr.

5.0 out of 5 stars It's HUGE
It's enormous! And every page has information useful to someone who develops on the Mac. This book is the ultimate tome of reference for the serious Mac developer. Read more
Published 21 months ago by T. Jensen

5.0 out of 5 stars An in-depth and elegant look at the construction of Mac OS X
This book is an ambitious attempt to cover the modern operating system of Mac OS X in substantial breadth and depth in one volume. Read more
Published on January 4, 2007 by calvinnme

3.0 out of 5 stars Good for very specific, low-level needs
I bought this book because I'm an experienced programmer, but new to OS X development, and have seen it recommended as _the_ definitive OS X technical reference. Read more
Published on December 20, 2006 by J. Hague

5.0 out of 5 stars Excellent all around
This is the first Mac programming book that has been released since OS X's debut that is actually worth buying. Read more
Published on September 3, 2006 by orangekay

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (1 discussion)
  Discussion Replies Latest Post
Should I buy it, or wait for an update covering Leopard? 2 July 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)


So You'd Like to...


Look for Similar Items by Category


Lithium Ion Stays Powered Longer

Shop lithium ion tools at Amazon.com
Work longer and charge batteries less often with lithium ion tools from Amazon.com. Our large selection of lithium ion power tools offers many choices.

Start shopping

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Suck Up the Mess

Shop for Vacuums and Accessories
Keep your home and shop clean with a Shop-Vac or vacuum from the Home Improvement Store.

Shop more vacuums and dust collectors

 

Danco Perfect Match

Shop for Danco plumbing products
The right product and ideal style from Danco makes DIY plumbing projects simple.

Shop for Danco products now

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates