Of Mach ports and XPC: An exploration of how IPC works in iOS, Omer Iqbal @SPACE-dc8ed
Of Mach ports and XPC: An exploration of how IPC works in iOS, Omer Iqbal  @SPACE-dc8ed
Uploaded December 2020 | Updated December 2026, 3 hours ago
MobileOptimized 2020, Online – November 6-7, 2020

Of Mach ports and XPC: An exploration of how IPC works in iOS, Omer Iqbal

Have you ever wondered, when you call an iOS system framework, how does it actually work? What is the underlying magic that transforms your method call, into pixels on the screen? This talk covers Inter Process Communication (IPC) mechanisms that form the glue which make this possible.

iOS and its siblings (tvOS, watchOS, and even macOS), have been heavily influenced by microkernel architecture. The kernel which powers these Operating Systems (called XNU), is based on the ancient, open source, Mach micro kernel project of yore. The fundamental message passing mechanisms therefore, are still based on primitives from the Mach world. These days, most systems within iOS tend to use XPC, which provides a higher level API over the same underlying Mach mechanisms.

But why does all this really matter? For us, as application developers, it is important to understand how our applications really work. When we render pixels on the display hardware, or respond to user gestures, or allow them to control the camera, our applications have no direct control over all these I/O operations. Under the hood, our applications merely send messages to system daemons, which do the actual low level work.

This talk will go through some primitives in Mach message passing, and discuss the tradeoffs made in comparison to similar mechanisms in other OS’s. It will also cover XPC, and examine how some of our beloved system libraries use XPC to function.
Of Mach ports and XPC: An exploration of how IPC works in iOS, Omer IqbalМихаил Рожков, В поисках идеальных инструментов для ML экспериментовAdvanced Xcode StoreKit Testing with Xcode 12 and iOS14, Kendall GelnerPyConBy 2020: Anna Kazakova Lindegren - How to Data Science IoT: GrowSmarter Stockholm Case StudyVictoria Almazova, How not to smash your Azure security! [EN]RVMS – a practical reactive architecture for Flutter Apps, Thomas BurkhartPyConBY 2020: Iuliia Volkova - Metaprogramming with Python: generate unit tests based on AST (RU)Майк Притула - Геймификация Total Rewards - как сделать твердое мягким?JFuture 2020: Bartlomiej Slota - Concurrency control in REST API with Spring FrameworkThe State of Reactive Streams, Oleh DokukaСтанислав Семенюта, GAN-ы для генерации текстовScott Hunter, The Journey to One .NET with .NET 5 / 6 [EN]
SPACE |

Of Mach ports and XPC: An exploration of how IPC works in iOS, Omer Iqbal

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER