Re:Satya Nadella uses an IBM AS/400 in 1993
by mardifoufs on Friday February 16, 2024 @11:14PM
(#39406302)
Why did android go from full AOT in 5.0 back to a mix of the two? I remember when AOT was "hyped" (not really, but talked about) for Lollipop, but I never heard about why they went for a mix instead?
Re:Satya Nadella uses an IBM AS/400 in 1993
by pjmlp on Saturday February 17, 2024 @10:18AM
(#39410192)
Imagine LLVM compile times for every single Play Store update, additionally there were some restrictions in reflection usage.
Also there are several optimizations that are only possible after having PGO data, and that was lost on AOT at installation time.
Naturally NGEN has the caveat of only being good enough for faster startup, and requiring strong binaries (aka signed dlls), which meant not everyone adopted it.
Windows 8.x adopted Bartok from Singularity, where applications would be precompiled on the store, and linked on device at instalation time.
Windows 10 moved full AOT compilation into the store when downloading into specific devices.
Note that full AOT on Android is only on versions 5 and 6, starting with version 7 onwards is a mix of interpretation, JIT and AOT, which is nonetheless quite cool.