Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Mac OS X internals

    Mac OS X internals

    Amit Singh · 2006

    This is the eBook version of the printed book.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.

    Systems & OS
    Open LibraryAmazon
    Stats for nerds
    10recommend
    33mentions
    23people
    2009–2026years
    45% recommend52% neutral3% critical

    Mentions per year

    2009201120132015201720192021202320252026

    What Hacker News says

    1. AdieuToLogicSep 2026
      > What allows Wine to run so many Windows apps that there's not an equivalent for MacOS? Is it lack of interest? Is it a technical thing?

      It is a technical thing.

      The XNU[0] kernel, which underpins macOS and is detailed by the exceptional book "Mac OS X internals"[1], can theoretically run on many x86 and/or ARM machines. However, the issue with running macOS apps via other operating systems is not the OS, but instead are the GUI frameworks expected (i.e., Carbon[2], Quartz[3], etc.). These frameworks are intentionally written for Apple hardware/macOS distros. Which makes sense when viewing macOS as a selling point for selling Mac's.

      0 - https://en.wikipedia.org/wiki/XNU

      1 - https://openlibrary.org/books/OL17205558M/Mac_OS_X_internals

      2 - https://en.wikipedia.org/wiki/Carbon_(API)

      3 - https://en.wikipedia.org/wiki/Quartz_(graphics_layer)

      thread
    2. AdieuToLogicDec 2025
      > MacOS was absolutely derived from BSD through NeXTSTEP.

      The OS-X (now branded as "macOS") kernel was not, and is not, a derivative of the FreeBSD kernel, or any other BSD, even though macOS/OS-X has a FreeBSD kernel component due to its Mach heritage. The userland tools are however BSD. OS-X's kernel is XNU and from the XNU GitHub repo[0]:

        XNU kernel is part of the Darwin operating system for use 
        in macOS and iOS operating systems. XNU is an acronym for X 
        is Not Unix. XNU is a hybrid kernel combining the Mach 
        kernel developed at Carnegie Mellon University with 
        components from FreeBSD and a C++ API for writing drivers 
        called IOKit. XNU runs on x86_64 and ARM64 for both single 
        processor and multi-processor configurations.
      
      I recommend the book "Mac OS X Internals"[1] for a detailed analysis of same.

      EDIT:

      In theory, XNU could simultaneously run the existing FreeBSD subsystem alongside Linux and/or MS-Windows ones. In practice, this would be a herculean effort fraught with difficulty.

      See QNX[2] for another example of a micro-kernel OS architecture.

      0 - https://github.com/apple-oss-distributions/xnu

      1 - https://books.apple.com/us/book/mac-os-x-internals/id4343583...

      2 - https://en.wikipedia.org/wiki/QNX

      thread
    3. AdieuToLogicJun 2025
      > Thank you for the links I will take a closer look at XNU.

      Another great resource regarding XNU and OS-X (although a bit dated now) is the book:

        Mac OS X Internals
        A Systems Approach[0]
      
      0 - https://openlibrary.org/books/OL27440934M/Mac_OS_X_Internals
      thread
    4. jshierApr 2025
      Mac OS X Internals by Singh is one of my favorite books, such a great in depth examination of Mac OS X circa 10.4. I really wish there was an updated version.

      Edit: I see it's even cited at the end of this article. Truly a source for the (macOS) ages.

      thread
    5. pjmlpJul 2020
      Says someone that never read Apple documentation or iDevice literature regarding system programming on Apple platforms.

      You can start by reading the Mac OS X Internals, followed by Mac OS X and iOS Internals: To the Apple's Core.

      Then hop over to Apple's archive, https://developer.apple.com/library/archive/navigation/

      thread
    6. pjmlpSep 2019
      It will be very hard to be a monolithic kernel without any sort of kernel space drivers.

      Also many BSD syscalls have been deprecated along the years, including POSIX features like networking stack, now replaced by Objective-C APIs.

      I would advise spending some time reading "Mac OS X Internals: A Systems Approach" and "Mac OS X and iOS Internals" books, to learn that having everything on kernel space alone, doesn't rewrite the original microkernel code into a huge monolith.

      thread

    Related

    Cover of Mac OS X and iOS Internals
    2015–2025

    Mac OS X and iOS Internals

    Jonathan Levin
    1 recommend · 7
    Cover of Windows® Internals
    2009–2016

    Windows® Internals

    David A. Solomon
    6 recommend · 7
    Cover of Solaris internals
    2010–2024

    Solaris internals

    Richard McDougall
    4 recommend · 11
    Cover of The design and implementation of the FreeBSD operating system
    2008–2026

    The design and implementation of the FreeBSD operating system

    Marshall Kirk McKusick
    36 recommend · 59
    Cover of Cocoa programming for Mac OS X
    2008–2026

    Cocoa programming for Mac OS X

    Aaron Hillegass
    20 recommend · 36
    Cocoa programming for OS XAaron Hillegass
    2012–2023

    Cocoa programming for OS X

    Aaron Hillegass
    3 recommend · 6
    Cover of Operating Systems
    2007–2026

    Operating Systems

    Andrew S. Tanenbaum
    63 recommend · 115
    Cover of Inside OS/2
    2013–2022

    Inside OS/2

    Gordon Letwin
    1 recommend · 4