[LLVMdev] LLVM in place of Dalvik on Android
eli.friedman at gmail.com
Mon Sep 2 20:02:33 PDT 2013
On Mon, Sep 2, 2013 at 7:23 PM, Tyler Hardin <tghardin1 at catamount.wcu.edu>wrote:
> Hi all, does anyone here know if Google has considered trading out the
> Dalvik VM for LLVM?
> 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.
> 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.
> 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.
> What is the list's opinion on this?
Please try to ask specific questions; vague/hypothetical questions aren't
going to lead to useful discussion.
In answer to the question "can apps be compiled to LLVM IR and distributed
in that form", it's workable in restricted environments; try searching the
web for "Portable Native Client".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev