Post

Replies

Boosts

Views

Activity

Reply to Metal Sample Code in Swift?
I don't understand why Apple Engineers keep preferring Objective-C for sample code. I presume they think most people are still using it, but at my employer we converted to Swift years ago. Translating things mentally from Obj-C to Swift is now difficult because I haven't used it in years, and Swift is where most of the iOS/MacOS market is today. Back when I worked at Apple in the mid 90's we still had some sample code in Pascal, which made just as much sense, i.e. none. Maybe things will improve in WWDC 21.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Safari 18+ network bug - randomly - The network connection was lost
I see this problem occuring on verizon.com signin page which is keep me from signing in to my account. Note, I have nothing to do with verizon other than being a customer.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to M1Utra vs Old iMac, why is retain/release on M1 42 times slower?
[message deleted]
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to M1Utra vs Old iMac, why is retain/release on M1 42 times slower?
Rewrote it to use a struct passed instead of referencing class properties, now massive fast. Still be nice to know for sure if my conjecture about runtime is true.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to M1Utra vs Old iMac, why is retain/release on M1 42 times slower?
This would make sense if the objective-C runtime (or ARC) is still running on Intel, thus requiring a switch to Rosetta. If so, people should be made aware that any capture of self could cause a slowdown on M1. Odd if true, but I can't see how Apple could otherwise code such a simple concept so badly if it's native ARM.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Metal Sample Code in Swift?
I don't understand why Apple Engineers keep preferring Objective-C for sample code. I presume they think most people are still using it, but at my employer we converted to Swift years ago. Translating things mentally from Obj-C to Swift is now difficult because I haven't used it in years, and Swift is where most of the iOS/MacOS market is today. Back when I worked at Apple in the mid 90's we still had some sample code in Pascal, which made just as much sense, i.e. none. Maybe things will improve in WWDC 21.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21