4 ms·
Are Android apps running on Chrome OS actually going to be more secure, or does the platform inherently require things that are hard to secure? (And, conversel
by geofft 11y ago
Are Android apps running on Chrome OS actually going to be more secure, or does the platform inherently require things that are hard to secure?
(And, conversely, if it doesn't require that, what prevents Google from adding CrOS-style isolation to Android?)
- ultramancool 11y agoAndroid already has superior isolation to Chrome OS. The permission system is much more broad and flexible than that offered by browsers and in 6.0 it gives even more direct control.
- hawski 11y agoAFAIK Android Runtime for Chrome is running on NaCl meaning it's properly isolated.
- geofft 11y agoRight, if you can do that, why not stick NaCl + Android Runtime for Chrome on everyone's cell phone? NaCl is designed to be very low-overhead, and low-end Chromebooks are probably as underpowered as low-end phones. NaCl is a very good isolation layer, but it's certainly possible that to make Android apps work / interoperate the way you'd expect (e.g., one app can broadcast an intent that another app can receive), you have to open up holes that are too big to secure. It's sort of like how the CPU-level distinction between kernel-mode and user-mode code is a very good isolation layer, but when you run actual operating systems that need their processes to communicate, it gets much harder to secure.
- mikecb 11y agoI personally imagine that when all that hype came out recently about merging chrome and android, that's what they're trying to do. Security of chrome and usability of android would be perfect, and hopefully also allow underlying OS pushes independent of manufacturer or carrier.
- mtgx 11y agoThat's what I'd like to know, too. Is ChromeOS + Android still much more secure than just Android? A second question would be: what is the performance penalty for running Android apps that already reside in an VM on top of Chrome OS? Is it 2%? 10%? 25%? It is more like running Bluestacks on Windows or like running Android natively on the hardware? I hope Google answers these questions at I/O or whenever it announces this merger.
- mirsadm 11y agoIf they did it "right" there'll be no performance penalty. It should be executing the apps the same way Android does. I imagine they've ported the runtime to Chrome OS.
- scholia 11y agoAndroid always has a performance penalty because software runs in a JVM....
- bitmapbrother 11y agoThere is no JVM in Android. Android uses the ART runtime that compiles apps to native ARM, x86, MIPS, etc code.
- geofft 11y agoWe're talking about the performance penalty compared to normal Android. Baseline performance penalties (compared to ...?) are present in both environments. Besides, the JVM is a very good optimizer, and a good choice for certain types of high-performance tasks, especially since it can continually re-optimize the program as needed. It beats C in one of the anecdata on the Benchmarks Game, and is competitive in a few others: http://benchmarksgame.alioth.debian.org/u64q/java.html http://benchmarksgame.alioth.debian.org/u64q/java.html
- igouy 11y agoWhat "beats C" is a "custom counted hash set".