This presentation was recorded at GOTO Copenhagen 2016 http://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: https://gotocon.com/cph-2016/presentations/show_talk.jsp?oid=7748 https://twitter.com/GOTOcon https://www.linkedin.com/company/goto- https://www.facebook.com/GOTOConferences #Swift Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech Sign up for updates and specials at https://gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1
Get notified about new features and conference additions.