News for hackers. Stuff that matters.
Re:Xcode 14 deprecates bitcode for watchOS and tvOS by trollied on Friday July 01, 2022 @06:15AM (#31944451)
>bitcode is still architecture specific

Ah, I didn't know that. Thank you

Re:Xcode 14 deprecates bitcode for watchOS and tvOS by 0x0 on Friday July 01, 2022 @06:28AM (#31944538)
Even if bitcode was fully architecture independent, you would immediately hit a wall with various framework constants having different #defined integer values. For example, https://developer.apple.com/documentation/apple-silicon/addr... talks about how the NSTextAlignment enum has diverging definitions between archs.

By the way something similar happens on Linux where kernel syscalls have different numbers between archs, for example. (Although on mac/ios, syscalls aren't guaranteed to be stable even across minor macos versions; the only officially supported interface to the kernel is libc)

Re:Xcode 14 deprecates bitcode for watchOS and tvOS by skissane on Friday July 01, 2022 @07:04AM (#31944730)
> talks about how the NSTextAlignment enum has diverging definitions between archs

I wonder why: was there some benefit for Apple in doing this?

Re:Xcode 14 deprecates bitcode for watchOS and tvOS by plorkyeran on Friday July 01, 2022 @11:48AM (#31948117)
That specific change is possibly just a mistake. They take advantage of architecture transitions to do cleanup which they couldn't do normally because it's an ABI-breaking change. In that specific case, I'd guess they removed the enum values which were no longer actually supported and (accidentally?) renumbered the rest.
Re:Xcode 14 deprecates bitcode for watchOS and tvOS by DaiPlusPlus on Friday July 01, 2022 @07:08AM (#31944756)
> the only officially supported interface to the kernel is libc

aka "no fun allowed"