Slide 15
Slide 15 text
Components of the Swift ABI
• Data Layout: a defined in-memory layout for instances of type
• Type Metadata: a set of defined APIs for querying the metadata of a type
• Mangling: any name in source code might not be globally unique, a unique
name is produced through a technique called name mangling
• Calling Convention: functions must know how to call each other
• Runtime: dynamic casting, reference counting, reflection, etc
• Standard Library: defines many common types, structures, and operations on
these