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
Heterogeneous Parallel ProgrammingUniversity of Illinois at Urbana-Champaign via Coursera Advanced Operating Systems
Georgia Institute of Technology via Udacity 計算機程式設計 (Computer Programming)
National Taiwan University via Coursera Introduction to Operating Systems
Georgia Institute of Technology via Udacity Android Performance
Google via Udacity