Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Swift Type Metadata

try! Swift Conference via YouTube

Overview

Explore Swift type metadata in this 20-minute conference talk from try! Swift Tokyo 2019. Dive into the intricacies of runtime type information with Yuta Saito, an intern at Mercari's iOS team. Discover the importance of understanding Swift runtime behavior through an examination of type metadata and its implementation. Learn about getting type names, the Swift runtime, TypeRelative pointers, extracting and recreating memory layouts, and practical applications in open-source software and JSON. Gain insights into how type metadata influences Swift's behavior and enhances development practices.

Syllabus

Introduction
Getting type name
What is type metadata
Swift runtime
Type
Relative pointer
Extract type name
Get type name
Mirror API
Recreate memory layout
OSS metadata
JSON metadata
rust usage
summary

Taught by

try! Swift Conference

Reviews

Start your review of Swift Type Metadata

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.