3 ms·
It's interesting that Google has a JS JIT but not a Dalvik JIT; I'd think it would be simpler. Edit: I see they're working on it (although still in secret): ht
by wmf 17y ago
It's interesting that Google has a JS JIT but not a Dalvik JIT; I'd think it would be simpler.
Edit: I see they're working on it (although still in secret): http://www.h-online.com/open/news/item/Android-s-Dalvik-to-be-JIT-boosted-861870.html http://www.h-online.com/open/news/item/Android-s-Dalvik-to-b...
- ardit33 17y agoThey are working on it. Android 2.5 is supposed to have it.
- FooBarWidget 17y agoMaybe because of memory constraints. JIT output can take quite a bit of memory. Furthermore JITting stuff to aggressively can significantly increase startup time of apps; for desktop/GUI apps it's usually better to apply Just-Too-Late compilation: don't JIT things early but JIT things later after the app is already running.
- vilya 17y agoFor a relatively constrained device like an Android handset, I'd have thought it would be better to compile the bytecodes into an optimised native executable at installation time?
- wmf 17y agoIf the native executable is larger than bytecode, no. Now that you mention it, it would be interesting to compare dex vs. Thumb2 code size.