Exploring Swift Memory Layout
Offered By: GOTO Conferences via YouTube
Course Description
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
Related Courses
Addressing Algorithmic BiasGOTO Conferences via YouTube Empowering Consumers - Evolution of Software in the Future
GOTO Conferences via YouTube Why Static Typing Came Back
GOTO Conferences via YouTube Higher Kinded Types in a Lower Kinded Language - Functional Programming in Kotlin
GOTO Conferences via YouTube It's Not Hard to Test Smart - Delivering Customer Value Faster
GOTO Conferences via YouTube