High Performance Systems in Swift - Cory Benfield at Hacking with Swift Live 2019

  Переглядів 8,079

Paul Hudson

Paul Hudson

День тому

Hacking with Swift Live 2019 took place on July 8th and 9th, with all profits being donated to SpecialEffect.org.uk. Learn more here: hackingwithswift.com/live
You can find Cory on Twitter here: / lukasaoz

КОМЕНТАРІ: 16
@twostraws
@twostraws 4 роки тому
Watch next: An Illustrated History of Easter Eggs - ukposts.info/have/v-deo/nnGSpYmpZK-EyZc.html Questions? Comments? Tweet me @twostraws.
@maximusfigueras707
@maximusfigueras707 4 роки тому
Awesome! very interesting how swift treats value types... i'm pretty new to Mac development in general and really learned something here!
@markuspfeifer8473
@markuspfeifer8473 3 роки тому
I actually use a small extension for optionals to mutate them when the underlying value is CoW. It takes an inout closure for the underlying value type and a default value if the optional is nil. If there already is a value (which I find out via a switch statement), I ensure that before applying the inout closure I first set self to nil. After mutating the now uniquely referenced CoW value, I assign the result back to self.
@bmackey
@bmackey 4 роки тому
Really liking the styling of the slides, very "Appley"
@MarkBTomlinson
@MarkBTomlinson 4 роки тому
Excellent presentation, intelligent and clearly explained. Code optimisation is so often sacrificed to rapid release cycles. Thank you Cory!
@ChrisOffner
@ChrisOffner 2 роки тому
Ha, small world! Curious to see you here Mark. :) Hope you're doing well.
@gjermundification
@gjermundification 4 роки тому
Will there be a link for the accidental quadratic? Or is it the one on tumblr? Was he referring to a specific blog post?
@markaurelius61
@markaurelius61 4 роки тому
That was a good talk, for me at least. I must admit that I didn’t understand that 3 option. Is it explained more carefully somewhere else?
@JacksMacintosh
@JacksMacintosh 4 роки тому
Am I correct in understanding that this copy-on-write only happens when there's more than one thing pointing to the (lets say,) array? And that if X is the only thing pointing to the array, modifying X won't cause this problem? The talk was great! Thanks Cory for giving it and Paul for putting on the event
@brodigy254
@brodigy254 4 роки тому
Yes, you understood correctly. I'm suggesting you to take a look at old wwdc talk about value types(probably 2016). In that talk, they implementing CoW manually.
@seccat
@seccat 4 роки тому
Now I really want to know the CoW jokes.
@MrTevelee
@MrTevelee 4 роки тому
Mentions SwiftUI Web @ 12:39
@brodigy254
@brodigy254 4 роки тому
Really interesting talk, but I feel that it should be at least twice long.
@markcuello5
@markcuello5 Рік тому
SECURITY
@vuvuzilla
@vuvuzilla 2 роки тому
There's a reason why all reliable software in the world is written in C or C++. All these indirections and abstractions you end up having to know about cyclic references, copy on write anomalies and (lack of) compiler optimizations. And the result is unmaintainable code that's impossible to debug if you didn't write the compiler yourself.
Write Better Code with Swift Algorithms
34:34
Paul Hudson
Переглядів 31 тис.
How to use phantom types in Swift
25:00
Paul Hudson
Переглядів 13 тис.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 1,3 млн
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Переглядів 31 млн
dotSwift 2019 - Johannes Weiss - High-performance systems in Swift
18:08
dotconferences
Переглядів 4,9 тис.
The ARM chip race is getting wild… Apple M4 unveiled
4:07
Fireship
Переглядів 73 тис.
Explaining Dirty Cow - Computerphile
8:56
Computerphile
Переглядів 200 тис.
Advanced Swift L1 - Memory Layout & Pointers
29:23
AppleProgramming
Переглядів 13 тис.
Live Senior iOS Dev Interview Code Test review & preparation | iOS Dev Live Mentoring
1:11:20
How to use the Coordinator pattern in iOS
18:12
Paul Hudson
Переглядів 70 тис.
Cory Benfield - Building State Machines in Swift
36:13
SwiftServerConf
Переглядів 3,2 тис.
Что еще за обходная зарядка?
0:30
Не шарю!
Переглядів 510 тис.
How Neuralink Works 🧠
0:28
Zack D. Films
Переглядів 24 млн
Теперь это его телефон
0:21
Хорошие Новости
Переглядів 152 тис.