327 points · by mokkol · 13y ago · 140 comments
Also, don't forget that if you want to develop for Firefox OS but don't yet have a device for it, you can run the superfast Firefox OS Simulator[3], super simple and currently the best emulator for a mobile OS.
[0] https://wiki.mozilla.org/B2G
[1] http://www.movistar.es/particulares/movil/moviles-tarjeta/fi...
[2] https://plus.google.com/communities/100988731864612801878
[3] https://developer.mozilla.org/en-US/docs/Tools/Firefox_OS_Si...
However I am excited to see where Firefox OS might be heading even though I think they will have a though time fighting it out with other potential "third spot" platforms for starters.
My problem with Android is that I miserably failed to hack it alone (I wanted to mess with app permission system and make it work my way). The Behemoth seem to have quite a steep learning curve, so I quickly lost my way in its innards.
However, I was able hack Maemo (except for proprietary parts) on N900 somehow. Stack was loosely coupled, everything's deb-packaged separately, many components are not in-home inventions but are well-known software (Debian base, X11, OpenSSL, DBus, etc.). Sad thing Maemo's practically dead.
Here's a short overview of how to get started: https://developer.mozilla.org/en-US/docs/introduction Not necessarily trivial, but just about everybody manages to get started in a few days at worst.
[1] https://en.wikipedia.org/wiki/Python_for_S60. The final 2.0 build sadly broke some networking code. There were very few people complaining, so it didn't get fixed. I suggest using version 1.4.5 instead if you choose to play with it.
Thought you were talking about Firefox OS there!
And how exactly is it "different"? Firefox OS is really just a limited subset of what we already have available (and have had for years, in some cases) under these various existing systems. We can already quite successfully run HTML5/CSS/JavaScript-based apps on Android, iOS, and BlackBerry OS for instance. And this is ignoring Firefox OS's inflexibility when it comes to using languages other than JavaScript (sorry, Asm.js and Emscripten are hacks, at best), or writing native applications.
It's hard to see how it'll compete on vague notions of "openness" that most consumers really could not care any less about, while failing to compete on things that consumers do care about, like functionality and experience. It can't even really compete on price, given the existence of Android.
Allow me to give a different perspective here. While in many other mobile operating systems you can build apps with HTML (saying HTML from now on but meaning HTML/CSS/JS, ok?), the API the vendors make available don't cover the same features as what is native on that platform. We can say that Firefox OS is important because of the following things:
MAKING THE WEB A FIRST CLASS CITIZEN
Makes the web a first class citizen. Its not like "you can build apps with web technology", its more like you don't need native because all you need is available thru the web apis. While in other platforms, there is a barrier on what can be accomplished with HTML alone, on Firefox OS HTML is the way. Let me give you a silly but practical example:
Suppose you have an intranet on your small company built by IT in PHP or something. This intranet has an address book for everyone in the company. Using the Web API, you can detect the contacts API and offer the user the ability to import contacts from the web directly to the phones contact book. This is done in a secure way, with permissions granted by the user, its not like "hey, open this page and flood the contact database". The security model is good. This is a silly example but it is useful for many people. Its the tiny APIs that make your life easier and your experience better.
GIVING YOU THE FREEDOM OF THE WEB
In platforms such as iOS, your only venue to distribute your apps is the iTunes App Store. All money passes thru Apple. On Android, you can have third party stores but the default setting is to allow apps from Google Play only (unless you're a kindle or nook). Most of the other platforms are about controlling the ecosystem to make money for the vendor.
On Firefox OS you have the Firefox Marketplace that is a mixture of Chrome Webstore and Google Play. It allows distribution of apps for desktop, android and firefox os (all using gecko runtime). You are not tied to Firefox Marketplace though. You have an install API that you can use on your app or your site to install apps on the users phone (Again, it asks permissions, security is good). You can even fork the Firefox Marketplace code and build your own.
Talking about payment, you have the usual credit card charging on the marketplace but you also have carrier billing (if the carrier implement it) allowing users to buy apps and have it charged to their prepaid cards or monthly bill. Remember that in many markets, people don't have credit cards. If you're not happy with both solutions you can roll your own payment solution using the payments API and receipt protocol. You are free to distribute and monetize your app as you see fit, just like on the web.
ITS NOT A REPLACEMENT FOR YOUR IPHONE OR GALAXY S3
If you have an Android device, you can just install Firefox Mobile and be happy since we'll eventually have feature parity between Firefox Mobile and Firefox OS. These Firefox OS phones are being created for emergent markets. People from U.S. and richer parts of Europe don't really realize how things are in south america and asia. An Samsung Galaxy S3 will cost USD 1000 in Rio right now while the minimum wage is about USD 350. Buying such expensive phones require a plan and saving for a long time. 78% of the Brazilian market is on feature phones.
By offering an inexpensive handset that has a full smartphone experience with a price that is affordable is key in these markets. It is about bringing the next million people online on the mobile web for the first time. Firefox OS is here to be the first smartphone for people that are still on Symbian or S40. In some markets you can buy a cheap android with decent performance, in others you can't.
Firefox OS offers the best cost-benefit ratio once you think about how much performance you have against your hardware specs. If you pick the same low-end hardware with Android or Firefox OS, Android will have a worse experience, not because Android is broken in any way, Android is great but because there are more things going on on Android than on Firefox OS. Firefox OS is just a tiny hal, gecko and gaia, while Android has a VM and lots of other things going on.
As I said before, this is not about fighting Android, its about offering a new choice for those that can't afford a good Android or iPhone. Here in Brazil, we have some very cheap Android devices since we have Samsung, LG and others building them locally. Most of these devices are pretty crap to use. The same hardware with Firefox OS would be a much better experience.
ITS ABOUT THE WEB API
The objective here is not to sell phones or be dominant. Firefox OS is about preventing vendor lock-in. Right now, each platform is an island. iOS has Objective-C/Cocoa Touch, Android has Java, Windows Phone has something that I can't recall. If you want to build cross platform apps, you're in for a world of hurt. You can use phonegap but this is not something offered by the platform vendor, this something that was built to bridge the web and native.
The Web API is the next step in this direction. Each of the APIs in the collection known as Web API is being standardized with the W3C and other interested parties. The idea is that other vendors adopt these APIs and that open web apps work anywhere equally. Firefox OS is not about an exclusive experience, it is about openness and freedom. Even if Firefox OS fail but the Web API succeeds, it will be a huge victory for the open web.
ITS ALSO ABOUT BEING CREATIVE
Right now there is a steep learning curve regarding developing native apps for most platforms. Objective-C and Java are easy languages for CS people but for the layman they are pretty hard. It requires a lot of effort to be good with them.
Why is the web a success? If the web required such effort, we'd still be using gopher and news. One of the reasons the web was a success was that it required less effort to produce something useful. I am not saying good, I am saying useful. Anyone could host a server, anyone with a text editor could build pages. Firefox OS is about bringing this to mobile. It requires less effort and your open web apps can be deployed on other platforms such as iOS and Android (with phonegap or other runtimes). Yes, these days it requires a lot of effort to build good web apps but not much to build useful ones. Firefox OS has the potential and openness to bring all web developers to mobile with ease. Open Web Apps are king of local content. Niche apps that are only useful for those in a neighborhood or profession are a web editor away from being born and available. The web is king for local content and Firefox OS is nothing but an mobile extension of the web.
WHY I THINK FIREFOX OS WILL SUCCEED?
As I said above, Firefox OS is nothing but the web and the web can't fail because it already succeeded. Right now the only technology that bridges smart tvs, video games, smartphones, desktop and laptop computers together is HTML/CSS/JS.
Remember how much progress we had in JS runtimes the last year, try to imagine where we're going to be next year. Javascript is already reaching 1.5x native speed in some cases, two years from now, this won't matter because it will as fast as it needs to be. One could argue that for most mobile app needs, it is already fast enough.
Apps built for Firefox OS can be deployed as web pages and made available on a server. They can be sold on Chrome webstore and Firefox Marketplace. They can be wrapped with phonegap and deployed to iOS, Android, Windows Phone, BB10, Bada, Tizen and webOS. They can be wrapped in other runtimes and be used on Smart TVs and video games. The web is the king of cross platform, of vendor neutrality and without lock-ins.
I think that the future belong to HTML based solutions and all platforms that embrace it.
PS: I am a Mozilla Rep and a Firefox OS Launch Team member in Brazil.
> Firefox OS offers the best cost-benefit ratio once you think about how much performance you have against your hardware specs. If you pick the same low-end hardware with Android or Firefox OS, Android will have a worse experience, not because Android is broken in any way, Android is great but because there are more things going on on Android than on Firefox OS. Firefox OS is just a tiny hal, gecko and gaia, while Android has a VM and lots of other things going on.
Let's look at some of the components that a modern mobile OS needs:
* Kernel
* Hardware abstraction layer
* OpenGL ES implementation and compositor
* 2D vector graphics API
* UI toolkit
Android and Firefox OS both also have a VM to run managed code, along with a JIT compiler. Android's VM, Dalvik, was specifically designed to be memory efficient in the case where several apps are running as separate Unix processes. Is the same true of SpiderMonkey?
So Android and Firefox OS share many of the same types of fundamental components, and in some cases, the same components (the kernel, some aspects of the HAL). But on top of this, Firefox OS and its apps add:
* Markup language processor and layout engine designed for hypertext documents, not UIs
* Parser for a poorly designed programming language (JS), and advanced JIT optimizations that in effect extract the latent static types from a dynamically typed language. By contrast, Dalvik accepts bytecode as input, and the program is already statically typed, so the JIT compiler can be much simpler
* Hacks on top to turn this combination of hypertext markup language and poorly designed programming language into a tolerable UI toolkit and application platform
So how can you say that Firefox OS is more resource-efficient than Android? Perhaps the Android platform developers have gotten sloppy lately, since they're primarily concerned about high-end phones. But that can be remedied. What matters is that, as far as I can tell, the Android platform was designed for efficiency, while the Web platform was not.
I hesitate to bash the Web platform, because for better or worse, it seems to be the best way of achieving Mozilla's mission, and I believe social ends outweigh technical means. But I believe I have accurately described the current reality.
> Firefox OS will need to successfully compete against BlackBerry OS, Windows Mobile, [...]
Yes, a new product needs to compete with existing products. That goes without saying.
> And how exactly is it "different"?
Frankly? Try it, you'll see. For me, it's different insofar as I can write a small game and self-publish it in a few hours. I don't have to pay anyone, I don't have to wait for anybody's permission (compare with iOS), I don't have to download a SDK, and my users will be able to run/install the self-published app immediately (compare with Android). Oh, and of course, my students can do the same, which is a big deal to me.
It's different insofar as an application written for FirefoxOS will also work on Android (and hopefully on iOS) and, in many cases, on your Desktop/Laptop. By opposition to what you seem to believe, this is not a design flaw. This is called not locking in your users. It's the kind of thing that Mozilla does.
It's different insofar as much of the development is done by the community of users. Not a privately-held company that decides what is best for us in terms of features or performance or privacy.
Oh, I almost forgot: it's different insofar as said company does not own all my private data by default.
> It's hard to see how it'll compete on vague notions of "openness" that most consumers really could not care any less about [...]
In the US, maybe. In India or Africa (or parts of China or Russia or Turkey ...), for instance? Not so. People care a lot about having a phone that they can use, which means first and foremost a phone that works in their language, even if that language is not a big commercial target. That's what openness is about, not about people like us squabbling on some high tech news aggregator.
> It can't even really compete on price, given the existence of Android.
Of course it can. On low-powered phones, FirefoxOS tends to outperform Android by a large margin. This means that you can have the same experience with cheaper phones.
Caveat: I'm a Mozillian.
> Caveat: I'm a Mozillian.
Oh. If your view resembles that of the most of mozillians then I think Firfox OS is already doomed. What you wrote might appeal to some developers, but it means little to users. And I am not sure how many developers are interested in platform in which users are not interested.
Looks like when Blake Ross left Mozilla so did understanding the user.> Of course it can. On low-powered phones, FirefoxOS tends to outperform Android by a large margin. This means that you can have the same experience with cheaper phones.
I don't want to imply you're lying or something, but is there something to support this claim? For example, I have Huawei Ascend G300 here (1)(, and apparently I can install FFOS on it. Is it going to be faster than CyanogenMod 10.1?
(1): Pretty popular model here in Eastern Europe -- of course, iPhones are way more popular because they cost about 150% of median monthly wage and thus are a great way to show you're rich.
This makes me wonder about privacy and Firefox OS. Does it require arbitrary account with credit card paired like iOS or Windows Phone? Does it require account to get most of the functionality like Android? Does it require you to agree that Google will get your location data for network location service to function like Android? Does it not allow you to use it without sending (paid) sms to Nokia with your location, like new Nokia phones?
If it doesn't do any of those things, it is different.
I have been using mine for ~6 months without a credit card. I have downloaded a number of free applications and the only times I had to log in was when I decided to rate them. I have not tested non-free applications, but the documentation seems to indicate that you have the choice between PayPal or some operator-provided billing mechanism. I don't know the details, though.
You do not have a system-wide identity. The Marketplace supports authentication through Mozilla Persona/BrowserID, which is quite different from other single sign-on authentication schemes, insofar as it is anonymous, almost zero-knowledge, open-source and decentralized (admittedly, I don't know of any Persona provider other than Mozilla, but anyone with a http server can become a Persona provider).
If the only selling point is HTML5 based apps, other OSs also have browsers.
Robert Nyman of Mozilla pointed me at this:
https://blog.mozilla.org/ligong/2013/06/03/foxconn-joins-the...
"Foxconn stated that they intend to have FFOS running on all categories of the “8 screen” devices, from smartphone to tablets to laptops to TVs and outdoor signage."
Name me another mobile OS that will be running on laptops or outdoor signage. :) This, I think, is the bigger vision of FF OS that is the reason people should get interested and involved.
Right, but in Firefox you also have "native" HTML5 apps, which give access to more hardware functionality than a regular web app.
> And this is ignoring Firefox OS's inflexibility when it comes to using languages other than JavaScript
I don't see how Firefox OS is less flexible than other systems. In Android, you're forced to use Java; in iOS you're forced to use Objective C (everything else, like RubyMotion are hacks, at best).
Which negates the sole benefit of a web app in the first place since those APIs are not standard and not available on other platforms, so those apps are not portable. Maybe the APIs will become standard and implemented on Android and iOS etc, but at that point you can write those kinds of apps for Android or iOS too, so again Firefox OS offers no benefit.
It is great that Mozilla is fighting for openness, but in terms of what street joe and street jane want, I think it will join WebOS in a few months.
Given my experience in telecommunications I don't see how sales are going to push these devices out of the shop when users come asking for other OSs.
You're comparing apples to oranges. WebOS was closed source with limited hardware vendors. FireFox OS is open source, open to all hardware vendors.
Good platforms tend to do well in the marketplace because they attract investment from the outside world. Android is beating iOS because it's a better platform for vendors. FireFox OS is not only a better platform for vendors than iOS, it may turn out to be a better platform for devs than both iOS and Android.
I am rooting for Firefox OS to be a serious contender within a couple of years. I think it has a strong chance to be #3. Likewise I don't think it has any chance whatsoever of taking the #1 or #2 spots - those are going to stay as they are for many years to come.
I like the Firefox OS concept because it has a better chance at being popular amongst non-technical folks and because, even if it had like 5% of the market share and no more, even so it would bring benefits to everybody, including developers, including end-users - because those Web APIs are also pushed by Mozilla for standardization.
The discussion above was about the huge geek appeal, not about the general appeal. That's why I answered that Jolla has a better geek appeal. Although they work hard to address the general public needs as well, in order not to make their system targeted to the tech crowd only.
The question is, how would it fare against other similar projects, such as Ubuntu Touch?
liliputing.com/2013/06/android-gets-cheaper-meet-the-100-quad-core-phone-59-dual-core-tablet.html
My guess is that Mozilla see the low end as the most vulnerable angle. Apple aren't going low end. Android aren't excluding it, but <$100 phones are an afterthought.
There is always demand at the lower end. Handset makers are happy to fill it. Android might be the best current option, but Google aren't focused on this segment specifically and I think most app developers are developing for high or midrange phones first. A lot of stuff doesn't work well on a cheap android. By focusing on less power and smaller screens, they will encourage developers to make simpler apps that run well on this hardware.
It's still early to tell if they have an advantage over android in this market, but it makes sense in theory.
I don't see them as much of a competitor in the UK/US/etc.- the people there that want a smartphone have one that's much more higher powered.
But in countries where most people can't currently afford smartphones, this offers them the chance of having one. And if they can then start to cannibalise sales from beneath, they have a chance of being a real global competitor.
I see around me a few people replacing their work computer with a cellphone. That cellphone is more useful for them, cheaper, easier to carry and, with respect to what they manage to use it for, more powerful.
Of course, that's just a few samples, so I have no idea about general trends.
If people are trying to replace their desktop, perhaps it will take a couple additional years for pocket computers to be "good enough" at those tasks. But that won't break the inevitable trend. That will just postpone it a bit.
I can buy a brand new unlocked Nexus 4 for $305 CDN. This is a top tier smartphone.
I wish my experience with mobile phones were the same as with laptops: every two years or so I step into a shop and buy a low-end machine on sale, go home and install the latest Ubuntu LTS version.
When I first read about Firefox OS I thought I would have the experience as described above. I would buy ANY phone, donwload the Firefox OS, install it and enjoy mobile life from a different perspective. As I said, I think we are "almost there". Maybe that's where Ubuntu Mobile is aiming to.
Now, whenever I need a laptop, I buy the best Lenovo I can find (well, not the absolute best, I aim for best-ish; price curves on laptops are stupid at the very high-end).
So far, it has worked better than the expendable machine style.
Oh for a laptop trade-in program.
Someone has to write the drivers AND have an incentive. [1]
[1] https://autonome.wordpress.com/2013/01/15/firefox-os-devices...
I really want to love it. I love Firefox, but Firefox OS is very much "not there" based on my experience. The browser is significantly worse than Firefox for Android. As far as I can tell, Sync is not available at all. Tapping the URL bar just/always puts your cursor where you tapped (does not select the text for easy replacement). Lots of smaller fit/polish things seemed much worse.
And the device experience is really strange. There's the "marketplace" but also the .. I don't know what it's called, two swipes to the left of the app launcher screen. The experience is very poor compared to Android/iOS; using familiar "apps" is really the mobile site for that service, and doesn't work as well as the Android apps I'm used to. (I.E.: Rating a movive in IMDB takes one tap to load another page, one tap to open the select box, another to pick the value, then another to submit that form. Versus one tap on Android.)
Lots of the "real apps" from the marketplace are also immediately greyed out if you lose data. Including simple games that totally should work offline. (Though I was recently surprised by how many games refused to run without an internet connection on my Android tablet recently, also.)
You should complain with the app authors and get them to improve their mobile website and/or their manifest. This will be beneficial to everyone.
Lower costs, too: Telefónica will be paying for most of the marketing, the sales channels, they might also be providing engineering help...
i.e. will it now have the asm.js optimisations and similar?
More generally, FirefoxOS does not automatically get the latest version of Gecko, because the process for mobile operating systems is more complex. The operating system must first pass certification by (if I recall) both the constructors and the operators. This operation is both long and costly, so it is probably impossible to follow the Firefox desktop/Android 6 week release cycle for the time being.
However, if I had to guess, I would assume that FirefoxOS will receive about one big update every few months, with all the new features and optimizations of Gecko. I know, for instance, that some of the optimizations I have added recently to Gecko have missed the release train for the next version of FirefoxOS (I believe that's still 1.1) but should be part of the release after that.
Updating the underlying kernel would be more arduous.
Firefox OS is its own Operating System, so it won't be "released for desktop/Android." The initial versions was forked from gecko 18 so it's missing many SpiderMonkey optimizations such as the Baseline Compiler, Type Inference, Odin Monkey, and Ion Monkey. Luckily, updates (or building from source) have these and add quite an improvement! Whenever I updated my iphone, I felt every update left it slower. Now imaging upgrading your phone it it getting faster!