# Swift ABI documentation

**URL:** <https://forums.swift.org/t/swift-abi-documentation/32103>\
**Category:** Using Swift\
**Tags:** documentation, abi\
**Created:** [December 28, 2019, 11:29pm UTC](https://forums.swift.org/t/swift-abi-documentation/32103 "2019-12-28T23:29:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuchlej](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/stuchlej/32/7751_2.png) [@stuchlej](https://forums.swift.org/u/stuchlej)\
**Post date:** [December 28, 2019, 11:29pm UTC](https://forums.swift.org/t/swift-abi-documentation/32103/1 "2019-12-28T23:29:42Z")

</div>

Hello,

(quick disclaimer: I’m student and I work on thesis in which I work with Swift and this post is result of my research so far. Also I want to better myself as a developer.)

I’ve been trying to get deeper into the Swift inner working. I’m especialy interested in how the Swift works. I’ve watched Mike Ash’s video ([Exploring Swift Memory Layout](https://academy.realm.io/posts/goto-mike-ash-exploring-swift-memory-layout/)) and I’ve been reading through [swift/ABIStabilityManifesto.md at main · apple/swift · GitHub](https://github.com/apple/swift/blob/master/docs/ABIStabilityManifesto.md). I haven’t finished reading it yet. However, I’ve finished the sections I’m the most interested in, Data Layout and Type Metadata. I’ve also read section Next Steps and that “ This document will be a living document until ABI stability is reached, ... After ABI stability is achieved, this document should be succeeded by technical specifications of Swift's ABI.” which left me confused.

I thougth that the ABI stability was reached when the Swift 5.0 was released. The documents at swift/docs/ABI are said to be outdated (and also incomplete with lot of TODOs inside) and I wasn’t able to find any such document as “Swift ABI specification”. Is it me being wrong at finding related documents? If so, would you kindly point me in the right direction? If such a document does not exist I wonder what are my options. Is the ABI documented inside some parts of the compiler’s source code or is the only option trying to understand the code itself?

Mikolas

---

<div class="post-metadata">

**Author:** ![tanner0101](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tanner0101/32/675_2.png) [@tanner0101](https://forums.swift.org/u/tanner0101)\
**Post date:** [December 29, 2019, 12:45am UTC](https://forums.swift.org/t/swift-abi-documentation/32103/2 "2019-12-29T00:45:56Z")

</div>

Agreed. Updated documentation on Swift’s ABI would be awesome.

---

<div class="post-metadata">

**Author:** ![mayoff](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mayoff/32/613_2.png) [@mayoff](https://forums.swift.org/u/mayoff)\
**Post date:** [December 29, 2019, 5:41am UTC](https://forums.swift.org/t/swift-abi-documentation/32103/3 "2019-12-29T05:41:58Z")

</div>

This may help you:

> **[Swift metadata](https://knight.sc/reverse%20engineering/2019/07/17/swift-metadata.html)**
>
> When reverse engineering macOS binaries that are written in Objective-C, class-dump is a common tool used to extract Objective-C declarations from the runtime information stored in the Mach-O files. With Swift binaries, since there is Objective-C...

Also this:

> **[Building a class-dump in 2019 2020](https://derekselander.github.io/dsdump/#swift)**
>
> An improved nm + Objective-C & Swift class-dump
