News for hackers. Stuff that matters.
Re:A Closer Look at Android RunTime (ART) in Android L by derefr on Friday July 04, 2014 @05:48PM (#7990313)
This is also what the .NET CLR does (ngen.exe), and it's maddening.

On the other hand, "managed" code is truly safe from the whims of untrusted developers--if your bytecode format has no way to express some unsafe/privileged native instruction, then the developer can't do that thing on your device, period.

It'd certainly be better if there was a middle step where, say, the Play Store took your Dex-APK and generated a native APK from it. But if devices can't do that step themselves, then sideloading stops working.

Re:A Closer Look at Android RunTime (ART) in Android L by jordanthoms on Friday July 04, 2014 @06:18PM (#7990383)
True, Although Android's security sandbox enforced using the kernel and user accounts, not JVM limitations - you can ship native code using the NDK and run any instructions you like, but you are still restricted by the permissions given to the application.