Firefox OS is worse here, not better. Gingerbread runs far better on low end hardware than Firefox OS does. The later Android stuff is more demanding (particularly in RAM), but the performance target (60fps everywhere, low latency) is also much, much higher than what Firefox OS is capable of achieving.
Firefox OS is less efficient than iOS, Android, or WP. By a lot.
Or hell, just run Firefox on your existing Android device - that's all Firefox OS is in reality. Mozilla makes a bunch of claims about how it's "closer to the metal" or some such nonsense, but it isn't. It's not like Android runs all native code in a VM - it's as "close to the metal" as you can get, with the exception that system calls go to the kernel. Just as they do in Firefox OS. Particularly since Firefox OS is built on top of Android.
Can you please explain how Dalvik[1] isn't a VM? Sorry if I am missing your point.
Are you referring to the NDK[2]? I haven't used it but my understanding was that Dalvik is still used for UI and basic process control, while calling out to native code via JNI.
Source? I don't think this is the case
The lower-level "operating system" of b2g. Gonk consists of a linux kernel and userspace hardware abstraction layer (HAL). The kernel and several userspace libraries are common open-source projects: linux, libusb, bluez, etc. Some other parts of the HAL are shared with the android project: GPS, camera, among others. You could say that Gonk is an extremely simple linux distribution.
it seems that Android as a solution to the problem of a mobile phone is overshooting a big chunk of the market. in that sense I think FxOS is in a good position to disrupt the mobile space.
now how can I get my hands on a phone??
Breaking free from all of that and getting back to simple, well executed basics is the way to go IMHO.
2. I have the original Galaxy S and it runs CM 10 Jellybean like butter. Sure bloated skins like touchwiz can slow down phones, but there's nothing wrong with AOSP on similarity spec'd hardware.
3. So you're saying people who can't afford a low-end PCs will be developing web apps with their $79 FF OS phone/tablet? LOL. I can hardly wait for this new paradigm in mobile development.
This is why I'm looking forward to the Edge w/ its Ubuntu OS. It doesn't try to hide its Android heritage, even gives you the option to boot to AOSP. Also has a modern gesture based UI unlike Firefox's dated iOS rip off. And most importantly, on resource limited mobile device gives developers the option to write native apps.
[1]http://www.theverge.com/2013/2/24/4024530/ztes-open-is-the-f....
[2]http://reviews.cnet.com/smartphones/geeksphone-keon/4505-645....
> I also wonder about the wisdom of taking low-end hardware, where every bit of efficiency at the software level matters, and shackling it by not allowing third-party native code.
This is what asm.js and OdinMonkey are for. You're right that forbidding developers from getting the control that native code buys you is a nonstarter, but asm.js gives you that control.
1. Most people don't need or want complexity like what you see from the typical low cost Android devices. Remember most of these people are still upgrading from Nokia style feature phones and aren't after a computer in your pocket (just yet).
2. Android in particular is really nasty at the low end. The quality of experience you would get from a tightly optimised and simplified Firefox OS would be immeasurably better. Again. You don't need to have X, Y and Z instead just have X implemented really, really well.
3. The barrier to entry and cost for developing HTML/JS apps is far lower than Java and Objective-C. You really do need a decent PC/Mac to program for either. And we all agree that custom, locally developed apps is vital.