Session
FOSDEM Schedule 2021
Zig Programming Language

Mach-O linker in Zig: linking in the era of Apple Silicon

D.zig
Jakub Konka
<p>One of Zig's main goals is seamless cross-compilation from any target to any target. This includes macOS and Apple's recent switch from x64 to ARM64 architecture with the introduction of the M1 SoC. This talk will delve deep into the internals of Mach-O linking in ZIg for both x64 and ARM64 targets, discussing new strict requirements the ARM64-version of the XNU kernel places on the binaries such as embedded code signature and inode caching, and how Zig mustered up to address and solve them for fantastic developer experience on macOS.</p>

I hope for this talk to deliver on two fronts: 1) to showcase and convince the audience that Zig takes cross-compilation very seriously and is a language worth learning, and 2) demistify Mach-O linking in general. Yet another great strength of Zig is that it is a very readable language, therefore, even though the code examples will be in Zig, it will not hinder anyone's ability to enjoy figuring out the finer points of Mach-O linking on ARM64 aka the Apple Silicon which are language-agnostic. Finally, there naturally will be coding examples interleaved here and there to demonstrate the different linking concepts that the talk will touch upon.

Additional information

Type devroom

More sessions

2/6/21
Network monitoring, discovery and inventory
Stephan Schmidt
D.network
<p>A brief introduction to the room and to the sessions.</p>
2/6/21
Hardware-Aided Trusted Computing
Jo Van Bulck
D.hardware.trusted
<p>A brief introduction to the room and to the sessions.</p>
2/6/21
MariaDB
Ian Gilfillan
D.mariadb
<p>A brief introduction and overview of what you can expect from the MariaDB devroom at FOSDEM</p>
2/6/21
Microkernel
Martin Děcký
D.microkernel
<p>Welcome talk and introduction to the Microkernel Devroom at FOSDEM 2021.</p>
2/6/21
Testing and Automation
D.testing
<p>A warm welcome from your devroom managers, practical information, lineup and administrivia. Let's make this edition of FOSDEM count!</p> <p>Happy Testing!</p>
2/6/21
Perl and Raku Programming
D.perl
<p>A brief introduction to the 2021 virtual FOSDEM devroom, talk overview, code of conduct and Community Affairs Team</p>
2/6/21
Open Research Tools and Technologies
Albert Yumol
D.research
<p>As technology advances, so as our maps. In this talk, we will explore the ever growing open map data that can help us understand, validate, and explore socio-economic indicators with the aid of network theory and machine learning techniques.</p>