News for hackers. Stuff that matters.
Re:Arm is canceling Qualcomm's chip design license by iggldiggl on Wednesday October 23, 2024 @11:39AM (#41926151)
> Android apps are uploaded as bytecode, which is then AOT compiled by Google’s cloud service for the different architectures, from what I understand.

No, Android apps ship the original bytecode which then gets compiled (if at all) on the local device. Though that doesn't change the result re compatibility.

However – a surprising number of apps do ship native code, too. Of course especially games, but also any other media-related app (video players, music players, photo editors, even my e-book reading app) and miscellaneous other apps, too. There, only the original app developer can recompile the native code to a new CPU architecture.

Re:Arm is canceling Qualcomm's chip design license by coder543 on Wednesday October 23, 2024 @11:43AM (#41926214)
> No, Android apps ship the original bytecode which then gets compiled (if at all) on the local device.

Google Play Cloud Profiles is what I was thinking of, but I see it only starts “working” a few days after the app starts being distributed. And maybe this is merely a default PGO profile, and not a form of AOT in the cloud. The document isn’t clear to me.

https://developer.android.com/topic/performance/baselineprof...

Re:Arm is canceling Qualcomm's chip design license by iggldiggl on Wednesday October 23, 2024 @12:14PM (#41926490)
Yup, it's just a PGO profile (alternatively, developers can also create their own profile and ship that for their app).