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

YouTube

Exploring Swift Memory Layout

GOTO Conferences via YouTube

Overview

Explore Swift's memory layout in this 57-minute conference talk from GOTO Copenhagen 2016. Dive deep into the bits and bytes of Swift data structures, examining how variables and internal components are organized in memory. Learn about pointers, safe memory reads, name mangling, and memory layouts for various programming constructs including C structs, C++ classes, Swift types, Objective-C classes, and Swift classes. Discover the intricacies of method calls, subclasses, arrays, protocols, and enums. Gain valuable insights into low-level Swift programming concepts through practical examples and visual representations using Graphviz.

Syllabus

Intro
About Me
Memory - Big Picture
Dumping Memory
Pointers are Integers
Bad Pointers
Safe Reads
How Much to Read?
Name Mangling
Strings
Output
Graphviz
Memory Layouts
C structs
C++ classes
Swift Types
Objective-C Classes
Swift Classes
Method Calls
Subclasses
Arrays
Protocols
Protocol Method Call
Enums
Wrapping Up

Taught by

GOTO Conferences

Reviews

Start your review of Exploring Swift Memory Layout

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.