News for hackers. Stuff that matters.
Re:Bare-metal Rust in Android by pjmlp on Monday October 09, 2023 @05:01PM (#37825435)
Thankfully ART not only uses JIT, it also has an AOT compiler with PGO data shared across all devices in the ecosystem via the Play Store.

In practice, people should learn how Android actually works.

Re:Bare-metal Rust in Android by flohofwoe on Tuesday October 10, 2023 @07:19AM (#37830708)
This just seems to prove my point that AOT is usually better than JIT?
Re:Bare-metal Rust in Android by pjmlp on Tuesday October 10, 2023 @10:15AM (#37832400)
Not really, because not only it uses PGO, which most people using AOT languages never bother to learn, it only AOT compiles the code paths that JIT validated as being used, instead of the whole application.

JIT + AOT with PGO data shared across all Android devices on the planet, gets the best of both worlds.