This presentation was recorded at GOTO Copenhagen 2016
gotocph.com
Mike Ash - Plausible Labs
ABSTRACT
Let's get down to bits and bytes! Abstraction is great, but sometimes it's useful to dig down. In this session, we'll explore exactly how Swift lays out data in memory, including both your own variables and Swift's internal data structures. [...]
TIMECODES
0:00 Introduction
0:31 About Me
6:19 Memory - Big Picture
9:47 Dumping Memory
14:50 Pointers are Integers
16:51 Bad Pointers
19:43 Safe Reads
20:17 How Much to Read?
22:23 Name Mangling
23:48 Strings
25:29 Output
26:05 Graphviz
27:23 Memory Layouts
28:19 C structs
30:17 C++ classes
36:03 Swift Types
42:26 Objective-C Classes
43:30 Swift Classes
44:11 Method Calls
44:42 Subclasses
45:14 Arrays
46:15 Protocols
49:38 Protocol Method Call
50:41 Enums
53:28 Wrapping Up
Download slides and read the full abstract here:
gotocon.com/cph-2016/presenta...
/ gotocon
/ goto-
/ gotoconferences
#Swift
Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at gotopia.tech
Sign up for updates and specials at gotopia.tech/newsletter
SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
ru-vid.com...
19 июл 2024