<p dir="ltr">Hi all, does anyone here know if Google has considered trading out the Dalvik VM for LLVM?</p>
<p dir="ltr">What specifically I have in mind is that apps could be compiled to LLVM IR and distributed (after optimization) in that form, and then compiled to machine code on the Android machine itself. This would leave only ISA optimizations to the Android machine.</p>
<p dir="ltr">It would seem, from my limited perspective, that statically compiling packages containing LLVM IR would be superior to JITing Dalvik code every time an application is ran.</p>
<p dir="ltr">In addition to all code only having to be compiled once, when compiling statically, there is usually less rush and thus more time for computationally intensive optimizations.</p>
<p dir="ltr">What is the list's opinion on this?</p>