- Paperback: 864 pages
- Publisher: Wrox; 1 edition (November 6, 2012)
- Language: English
- ISBN-10: 1118057651
- ISBN-13: 978-1118057650
- Product Dimensions: 7.4 x 1.6 x 9.3 inches
- Shipping Weight: 3.2 pounds
- Average Customer Review: 22 customer reviews
- Amazon Best Sellers Rank: #1,065,648 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Mac OS X and iOS Internals: To the Apple's Core 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Customers who bought this item also bought
Customers who viewed this item also viewed
From the Back Cover
Peeling Apple's Operating Systems
System-level developers, kernel hackers, and intrigued Apple-lytes, take heed: This book lets you explore the nooks and crannies of Mac OS X and iOS, delving into the architecture of both systems, and picking up where the frameworks (and documentation) leave off. It offers clear, detailed explanation of the inner workings of Apple's systems, including proprietary APIs, most of which are documented for the first time.
As you traverse the architecture, moving from user to kernel mode, each layer and component is unraveled with annotated code samples and hands-on experiments, comparing and contrasting its implementation in both OSes. Topics include:
- The boot process: Mac's EFI, iOS's iBoot, and kernel startup
- Processes, threads, and virtual memory management
- Debugging and profiling, using DTrace, ptrace, and hidden system calls
- The system level APIs: POSIX calls, Mach traps, and OS X/iOS proprietary
- File system architecture, including VFS and HFS+
- Network architecture: from sockets to interfaces, and network drivers
- Kernel extensions, drivers, and a discussion of I/O Kit architecture
- Security features, Mandatory Access Control, and iOS jail
The companion web site (http://www.newosxbook.com) includes sample programs, freely downloadable tools, updated references, and bonus additions.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
About the Author
Jonathan Levin is a longtime trainer and consultant focusing on the system and kernel levels of the 'Big Three'Windows, Linux, and OS X, as well as their mobile derivatives. He is the founder and CTO of Technologeeks.com, a partnership of experts delivering advanced training on systems/kernel programming, debugging, and profiling.
Showing 1-8 of 22 reviews
There was a problem filtering reviews right now. Please try again later.
If you are a regular user, this book is a waste of time, but if you work on hardware, software or you want to learn the inner mechanics of this operating system, this book will guide you trough the ton of info that nobody tells you about.
I have serious problems to understand the official docs from Apple; when I am able to find what I need of course...and this book resolve both issues. It will guide you trough the various applications running on the system, telling you what they do, then you will get your feet wet working on terminal, getting info about the kernel, Mach and the underlying structure of the OS, where each specific layer is explained.
If you do kernel programming work, this book is a bible. IF you are a beginner, this book will tell you what is going on when you run your app on iOS or OSX, using Xcode, or how to manipulate some inner mechanism of the system.
Do yourself a favor and read this book; it is for Mac/iOS developers, the equivalent of what the K&R book is, for C programmers.
If you read the table of content, it looks like this book covers a lot of aspects. Providing "Mac OS X Internal" is somewhat "outdated", this book might be the only one you can get in the market. It does cover a lot of aspects, but leaves none of them discussed in-depth. For example, VFS. It is sad that Mac OS X Internal doesn't really cover a lot on VFS. I bought this book, hoping that it could discuss more about Mac OS X VFS, but I was disappointed. It covers even less. The VFS Mac OS X is using now was a fork of FreeBSD. They share a common ancestor at some point of time, then they diverged.If you look into the current FreeBSD VFS, it's very different with the one Mac OS X is using. So you cannot simply depend on a FreeBSD kernel book. I don't want to make my code dirty, I always want to make sure I have a good understanding of all the assumptions of VFS interfaces before I move on. The fact is that, there's no single book on shelf can reach this goal. Apple doesn't have a good documentation of their VFS, either. So as an independent developer, reading Apple's existing code (devfs for memory based VFS, HFS for block device based VFS) seems to be the only way to learn it.
Beside the above problem, another big issue is the typos and errors in this book.
There are quite a number of typos. Most of them don't cause real trouble since you can correct them by yourselves, but some of them are really misleading. Like on page 348, the first parameter of mach_msg call should be a pointer type, but the star is missing. I stared at it for a minute and looked at the real source code, proved that the book was wrong. Other errors also make glitches while reading. Like, when talking about the internal Mach IPC mechanism, the book states that we've talked about semaphores. I was surprised, because I'm always a careful reader, but I didn't remember I've read any kernel synchronization stuff from the book. Later on I realized that the synchronization part was moved to after the internal IPC part. So the actual ordering of topics of that chapter is different from the one printed on the first page of that chapter. This kind of mistakes should have been avoided by carefully reading before publishing, but sadly that was not the true story.
As a conclusion, if you are look for a book that can give you directions of possible solutions of your current questions/problems, it is okay. It also lists references at the end of each chapter. But if you are looking for some in-depth discussion, you might find some luck with Mac OS X Internal, though that book is really outdated. However, not every single problem has a perfect solution. For example, I really wanted a book that talks more about Mac OS X VFS, but there's just no such thing in the market.
It covers OS X up to Lion and iOS up to iOS 5, which is understandable as it would be almost impossible to publish an up to date book given Apple's release schedule.
I would certainly recommend this to people look for a modern OS X internals reference.