Posted by Serban Constantinescu, Product Supervisor,Pixel 7 and Pixel 7 Professional are the primary Android telephones to assist solely 64-bit apps. This configuration drops OS assist for 32-bit code, lowering reminiscence utilization, enhancing efficiency, and enhancing safety. Over time, we count on this gadget configuration to change into commonplace.
Because of the efforts and collaboration of all the Android neighborhood, our ecosystem is prepared. Transitioning Android gadgets to 64-bit-only required many adjustments throughout the platform, tooling, Play, and, after all, your apps. We began by introducing 64-bit assist in 2014, saying coverage adjustments in 2017 and requiring assist for Google Play apps beginning 2019.
Your gadget is quicker, safer and makes use of much less reminiscence
64-bit apps run quicker as a result of they’ve entry to further registers and directions that are not accessible to 32-bit apps. As well as, newer CPUs ship as much as 25% higher efficiency when operating 64-bit code and even drop assist for 32-bit code altogether.
64-bit may also help enhance safety. The larger deal with house makes defenses like ASLR simpler and the spare bits can be utilized to guard management circulation integrity. These countermeasures might scale back the prospect an intruder can take management of your gadget.
Eradicating assist for 32-bit code saves as much as 150MB of RAM, which was utilized by the OS even when not operating 32-bit apps. These reminiscence financial savings lead to fewer out-of-memory circumstances that means much less jank and fewer background app kills.
Builders have entry to raised instruments
Builders focusing on 64-bit have entry to raised instruments comparable to HWASan for detecting reminiscence errors and enhancing the standard of an app.
Quicker OS updates for distributors
64-bit-only gadget configurations halve the CTS testing time. Mixed with GKI, distributors can replace gadgets quicker and extra simply.
Going ahead
With 64-bit-only gadgets now reaching customers, we encourage builders to begin paying further consideration to testing their apps and updates for 64-bit-only gadgets. To assist this, Google Play now gives pre-launch studies which might be run on 64-bit-only gadgets to detect and report compatibility issues.
Observe: Whereas 64-bit-only gadgets will develop in reputation with telephones becoming a member of Android Auto on this group, 32-bit-only gadgets will proceed to be essential for Android Go, Android TV, and Android Put on. Please proceed supporting 32-bit ABIs; Google Play will proceed serving 32-bit apps to 32-bit-only gadgets.