4 posts tagged ‘C Programming Language’
Apple’s Use of Swift and SwiftUI in iOS 18
Alexandre Colucci (Mastodon, Hacker News): iOS 18 contains 6800 binaries, up from 6030 in iOS 17. That’s 770 new binaries. […] Unsurprisingly, the number of apps adopting SwiftUI continues to grow this year. Notable mentions include:The new Passwords appThe Siri.app which now uses SwiftUIThe Calculator app, which received a notable overhaulThe new Journal app introduced […]
Retrofitting Spatial Safety to Hundreds of Millions of Lines of C++
Google Security: Based on an analysis of in-the-wild exploits tracked by Google’s Project Zero, spatial safety vulnerabilities represent 40% of in-the-wild memory safety exploits over the past decade[…][…]A key element of our strategy focuses on Safe Coding and using memory-safe languages in new code.[…]However, this transition will take multiple years as we adapt our development […]
Taligent’s Guide to Designing Programs
David Goldsmith (1994, PDF, via Hacker News): If you browse the computer section of any technical bookstore, you’ll find many good books offering advice on how to do object-oriented design—books dealing both with general design principles and with design principles specific to C++. Why then does the industry need another book, one targeted not only […]
Rescuing Files From Classic Mac OS...with Swift
Jordan Rose: The biggest benefits of doing this project in Swift are very similar to what the benefits would have been for using C++, back in the 90s, but with even more safety. Take directory walking. In C, this looks something like the following: FSIterator *iter; OSStatus err = FSOpenIterator(&directory, kFSIterateFlat, &iter); if (err != […]