News for hackers. Stuff that matters.
Re:Apple's M4 Has Reportedly Adopted the ARMv9 Architecture by alberth on Friday May 24, 2024 @08:29AM (#40465495)
I truly never understood why Apple deprecated Bitcode.

It was a super great idea because it allowed recompilation on the App Store to take advantage of new instructions.

Re:Apple's M4 Has Reportedly Adopted the ARMv9 Architecture by plorkyeran on Friday May 24, 2024 @12:10PM (#40467561)
Bitcode did not allow recompilation to take advantage of new instructions. They dropped bitcode because they never actually managed to do anything with it other than the armvk7 to arm64_32 recompilation, and that required specifically designing arm64_32 around what was possible with bitcode.

Updating apps to use new vector instructions is far more complicated than upgrading to a new compiler version and having it magically get faster.

Re:Apple's M4 Has Reportedly Adopted the ARMv9 Architecture by sgerenser on Friday May 24, 2024 @09:31AM (#40466083)
SME is very specialized, right now no compiler (that I know of) is really able to take general-purpose code and output optimized SME. So for these instructions at least, bitcode wouldn’t be of any benefit.
Re:Apple's M4 Has Reportedly Adopted the ARMv9 Architecture by astrange on Friday May 24, 2024 @06:24PM (#40471020)
Autovectorization doesn't work without extreme levels of handholding, so the optimization idea was basically a myth.