Skip to content

Tagged: #dyld

From double-click to first window: LaunchServices, launchd, posix_spawn, AMFI, dyld, the shared cache, sandbox profile installation, the runloop. Six subsystems in three seconds.
Inside dyld — Loader data structures, the modern chained-fixups format, PrebuiltLoaders in the shared cache, and what dlopen actually does at runtime.
The dyld shared cache pre-links every system dylib into one file mapped into every process. Where it lives, how shared regions work, and why it saves RAM.