2 ms·
The problem with forcing apps to be written in Java/dex bytecode is that you can go higher-level (Python/Ruby/Scala/etc.) but you can't go lower-level (C/asm).
by wmf 19y ago
The problem with forcing apps to be written in Java/dex bytecode is that you can go higher-level (Python/Ruby/Scala/etc.) but you can't go lower-level (C/asm). So if you want to add any new audio/video codecs, they are guaranteed to be much slower than the built-in codecs. If you want to write your own browser it has to be in bytecode, while the built-in WebKit browser is native code.
But Android phones may allow native apps; we really don't know at this point.