3 ms·
What changed in Objective C since 2017?
by vbezhenar 5y ago
What changed in Objective C since 2017?
- marvel_boy 5y agoBelieve it or not. But Objective-C continuous to evolve. It is not a dead language.
- pjmlp 5y agoTo your downvoters, Metal is actually implemented in a mix of Objective-C and C++, even though most examples use Swift.
- flohofwoe 5y ago...and to be honest, Swift doesn't bring much to the table when just glueing macOS frameworks together (and that's what most macOS applications actually do). Such code is completely dominated by the (quite verbose - both in ObjC and Swift) framework calls.
- pjmlp 5y agoI actually enjoy not having to type []@ all over the place. :)
- saagarjha 5y agoTwo off the top of my head: direct calls and constant literals.
- pjmlp 5y agoBasically performance tuning, extended ARC use cases, and better Swift interoperability. "What's New in LLVM" https://developer.apple.com/videos/play/wwdc2018/409/ https://developer.apple.com/videos/play/wwdc2018/409/ "Advancements in the Objective-C runtime" https://developer.apple.com/videos/play/wwdc2020/10163/ https://developer.apple.com/videos/play/wwdc2020/10163/