Mach-O linker in Zig: linking in the era of Apple Silicon
summary
Covers how Zig's linker implements Mach-O linking for macOS on both x64 and ARM64 (Apple Silicon/M1), including handling ARM64-specific XNU kernel requirements like embedded code signatures and inode caching. Explains the technical changes and solutions Zig used to support seamless cross-compilation to Apple targets, with language-agnostic explanations and Zig code examples illustrating the linking concepts.
AI-written summary · about
related talks
41mZig Build System & How to Build Software From Source
01h 23mC++ Linkers and the One Definition Rule
18mThe Horrors That Lurk: Understanding the Linux Compiler Landscape for Developers
01h 26mWhat Does the Linker Actually Do for Us?
01h 04mThe Bits Between the Bits: How We Get to main()
34m0xCaml From a System Engineer's Point of View
19m"ClangBuiltLinux: What's Next?"
31mToolchains for People in a Hurry: Latest Features of GCC/GLIBC