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 and iOS Internals

    Mac OS X and iOS Internals

    Jonathan Levin · 2013

    An in-depth look into Mac OS X and iOS kernels Powering Macs, iPhones, iPads and more, OS X and iOS are becoming ubiquitous. When it comes to documentation, however, much of them are shrouded in mystery. Cocoa and Carbon, the application frameworks, are neatly described, but system programmers find the rest lacking. This indispensable guide illuminates the darkest corners of those systems, starting with an architectural overview, then drilling all the way to the core. • Provides you with a top down view of OS X and iOS • Walks you through the phases of system startup—both Mac (EFi) and mobile (iBoot) • Explains how processes, threads, virtual memory, and filesystems are maintained • Covers the security architecture • Reviews the internal Apis used by the system—BSD and Mach • Dissects the kernel, XNU, into its sub components: Mach, the BSD Layer, and I/o kit, and explains each in detail • Explains the inner workings of device drivers From architecture to implementation, this book is essential reading if you want to get serious about the internal workings of Mac OS X and iOS.

    Systems & OS
    Open LibraryAmazon
    Stats for nerds
    1recommend
    7mentions
    4people
    2015–2025years
    29% recommend71% neutral

    Mentions per year

    201520172019202120232025

    What Hacker News says

    1. 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
    2. 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
    3. p_ingJan 2025
      Apple uses bits and pieces of BSD. macOS is not "FreeBSD". Quoting from Mac OS X and iOS Internals by Jonathan Levin:

      "On top of Mach, but still an inseparable part of XNU, is the BSD layer. This layer presents a solid and more modern API that provides the POSIX compatibility discussed earlier. The BSD layer provides higher-level abstractions, including, among others:

      ‰ The UNIX Process model

      ‰ The POSIX threading model (Pthread) and its related synchronization primitives

      ‰ UNIX Users and Groups

      ‰ The Network stack (BSD Socket API)

      ‰ File system access

      ‰ Device access (through the /dev directory)

      XNU’s BSD implementation is largely compatible with FreeBSD’s, but does have some noteworthy changes. After covering Mach, this book turns to BSD, focusing on the implementations of the BSD core, and providing specific detail about the virtual file system switch and the networking stack in dedicated chapters."

      I don't disagree with Apple providing funding, however the BSD license doesn't require it. Many of the original Windows userland network utilities came directly from BSD, as well.

      thread
    4. pjmlpMar 2024
      No, because naturally it is different kind of requirements and space is at a price as well.

      Technically it is kind of the same, but with different set of configured features.

      Already a bit oldie,

      "Mac OS X and iOS Internals: To the Apple's Core"

      https://www.amazon.com/Mac-OS-iOS-Internals-Apples/dp/111805...

      thread
    5. DavidPiperMay 2023
      http://newosxbook.com/home.html for the lazy :)

      They are an updated and much expanded version of "Mac OS X and iOS Internals: To the Apple′s Core" by the same author.

      Which in turn was an updated version of "MAC OS X Internals: A Systems Approach" by Amit Singh.

      thread
    6. pjmlpJun 2022
      Unless you have mastered all editions of Windows Internals, MAC OS X Internals: A Systems Approach, MacOS and iOS Internals, Mac OS X and iOS Internals: To the Apple's Core books.

      Or having been a former Microsoft or Apple employee working on kernel stuff, then I could eventually value the opinion how fake they happen to be.

      Yet somehow I get the feeling, from both of us, only I have delved into such internals.

      thread

    Related

    Cover of Mac OS X internals
    2009–2026

    Mac OS X internals

    Amit Singh
    10 recommend · 33
    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 Understanding the Apple IIe
    2015–2026

    Understanding the Apple IIe

    James Fielding Sather
    2 recommend · 3
    Cover of Macintosh human interface guidelines
    2008–2026

    Macintosh human interface guidelines

    Apple Computer Inc
    10 recommend · 37