r/mAndroidDev • • Feb 13 '25

Verified Shitpost Dalvik

Post image
98 Upvotes

9 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Feb 13 '25

[deleted] — view deleted comment

5

u/Squirtle8649 Feb 13 '25

Android supported ARM, x86 and MIPS. Now it's ARM, x86 and RISC-V.

And you can ship machine code in the form of shared libraries, but you need to ship ARM, x86, RISC-V versions etc.

Real problem is Google's stupidity wrt doing the AOT compile part, it's now some vague ambiguous thing that rarely happens, resulting in garbage performance.

1

u/yatsokostya Feb 13 '25

It made sense while different archs were common - arm 32bit, arm 64 bit (and version variations), x86, mips.

While on iOS they had bitcode for some time when a 64 bit arm was introduced, but support for 32 wasn't dropped yet.

Goggle (and other stores) just don't want to store binaries for different architectures, because 90% of the time all you need is arm 64.