Exploiting The Swift ABI

  Переглядів 2,383

Swift Language User Group

Swift Language User Group

День тому

At its heart, and despite its static surface, Swift is quite a dynamic language with a rich runtime backed by descriptive metadata. With the advent of ABI stability in Swift 5, the exact layout of this metadata has been fixed in stone, meaning we can exploit its structure ourselves. This talk will provide a summary overview of Swift's new ABI. Along the way, we'll touch on low-level implementation details like the Swift calling convention, runtime type layouts, and how to read and write metadata at runtime to reflect and extend a Swift process dynamically.
About Robert Widmann ( / codafi_ )
Robert is a mathematician, programmer, and compiler engineer on sabbatical before taking a job at Apple on Swift.
---
This talk was given at the Swift Language User Group meetup on July 9 2019.

КОМЕНТАРІ: 2
@Cdswjp
@Cdswjp Рік тому
This was a good video. Thanks a lot. Would like to see a follow up video or two. Cheers
@wellingtonmoreno1851
@wellingtonmoreno1851 4 роки тому
Java has had this ability from day one.
Nemo - The Code (LIVE) | Switzerland🇨🇭| Grand Final | Eurovision 2024
03:28
Eurovision Song Contest
Переглядів 15 млн
Що рятує українців від похмілля?😁 | #НовийКанал #ЄПитання
00:53
єПитання з Лесею Нікітюк
Переглядів 448 тис.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Переглядів 118 млн
gRPC & iOS at Lyft
32:02
Swift Language User Group
Переглядів 7 тис.
Rust Data Modelling Without Classes
11:25
No Boilerplate
Переглядів 156 тис.
OpenAI's STUNS with "OMNI" Launch - FULL Breakdown
27:07
Matthew Berman
Переглядів 35 тис.
Generic Swift: It Isn’t Supposed to Hurt - Rob Napier
58:16
ChariotSolutions
Переглядів 7 тис.
Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018
41:35
GOTO Conferences
Переглядів 801 тис.
Exploring Swift Memory Layout • Mike Ash • GOTO 2016
57:18
GOTO Conferences
Переглядів 18 тис.
CS 3214: ABI mini lecture
48:09
Matthew Hicks
Переглядів 4,3 тис.
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Переглядів 545 тис.
MongoDB Internal Architecture
43:25
Hussein Nasser
Переглядів 79 тис.
OpenAI’s GPT-4o: The Best AI Is Now Free!
9:14
Two Minute Papers
Переглядів 22 тис.
Nemo - The Code (LIVE) | Switzerland🇨🇭| Grand Final | Eurovision 2024
03:28
Eurovision Song Contest
Переглядів 15 млн