Firefox OS Is Fast, Open And Commercial – Brendan Eich

Mozilla’s mobile platform Firefox OS is causing a stir. What TechWeekEurope has seen so far suggests a serious bid for app developer support, but raised further questions – we took them up with Mozilla’s chief technology officer.

Mozilla wants hundreds of thousands of developers for Firefox OS, the new name for the Boot to Gecko project. It now has support from operators including Telefónica, the O2 owner that recently showed off a prototype and plans to launch Firefox phones in Latin America.

Mozilla Europe head Tristan Nitot told us developers would want to work with the platform, and a set of screenshots backed up his claims. However, some questions remained in our mind.

Can a system as open as Firefox run fast enough and will developers actually be able to monetise their apps? And if the idea is to develop in HTML5, didn’t HP’s WebOS try that already?

Mozilla’s CTO and creator of the JavaScript programming language, Brendan Eich, was kind enough to answer our queries.

Is Firefox OS fast?

How good is the performance of HTML5 apps?  Can HTML5/JavaScript compete with Objective C?
We believe that the Web is the platform and with the Firefox OS, we’ve built the technologies and APIs to make the Web a rich and viable option for application developers.

To date, these applications on mobile have been held back because they can’t access the device’s underlying capabilities as native apps can. Mozilla’s Firefox OS project overcomes these limitations and provides the necessary APIs to show how it is possible to run an entire device using open standards.

Performance of JavaScript has improved in an order of magnitude in the last several years. We are working on approximating safe native code performance for certain programs such as 3D games – feel free to check out the BananaBread demo I gave at Fluent TXJS

Also, neither JavaScript nor Objective-C dominates the critical path for web applications… the fast paths are often dominated by custom C++ code written to handle HTML mark-up parsing, CSS layout, DOM [Document Object Model] manipulation, etc. JavaScript is only part of the story and not directly analogous to Objective-C in Apple’s native stack.

Is it commercial?

Can the Mozilla Marketplace allow developers to monetise their work?
The Mozilla Marketplace will offer developers discovery, distribution and monetisation opportunities and will also be customisable by partners.

For example, Telefónica will provide direct-to-bill capabilities in the device, in case app store owners would like to bill Telefónica customers directly. But app developers are free to use their own billing systems if they want. You can read our Marketplace Payments Guide for further details of how payments work.

Is it harder to restrict and charge for a piece of HTML5 code?
No, it’s not harder to restrict and charge for a piece of HTML5 code, simply because such code is typically compressed, minified (if JavaScript) and optimised to be unreadable. Java code in Android apps is no more restricted. Generally the ability to charge for an app does not depend on obscuring the binary or higher-level code that is conveyed as the executable package for that application. Charging depends on many factors, including service integration, leader boards and new levels for games.

And didn’t WebOS already try this?

How does Firefox OS differ from Palm/HP’s WebOS, and why will this succeed where WebOS failed?
At the heart of Firefox OS is Mozilla’s Boot to Gecko, which has always been open and open source. The Open Web Device is also using a Linux Kernel (the same one used by Android devices) which is also open. This is a 100 precent open project where, for instance, operators and OEMs can actively and openly contribute to the code, instead of Mozilla developing internally and making code drops available.

WebOS failed to standardise or build on web standards, instead inventing another proprietary large framework. WebOS also suffered internal competition with an older, non-Web (Java-based) OS.

Mozilla has led the way on standardising missing APIs needed to run web apps on a smart phone. You can find more details on this here: http://brendaneich.com/2012/02/mobile-web-api-evolution/

How well do you know open source software? Try our quiz!

Peter Judge

Peter Judge has been involved with tech B2B publishing in the UK for many years, working at Ziff-Davis, ZDNet, IDG and Reed. His main interests are networking security, mobility and cloud

Recent Posts

Tesla Shares Surge On China Advanced Self-Driving Push

Tesla makes key advances toward advanced self-driving rollout in China as chief Elon Musk meets…

59 mins ago

UK Law Aims To Boost Security For ‘Smart’ Devices

New UK rules bring in basic security requirements for millions of internet-connected devices, aiming to…

2 hours ago

Alphabet Value Surges Over $2tn On Dividend Plan

Google parent Alphabet sees market capitalisation surge over $2tn on plan to over first-ever cash…

8 hours ago

Google Asks US Court To Dismiss Federal Adtech Case

Google asks Virginia federal court to dismiss case brought by US Justice Department and eight…

9 hours ago

Snap Sees Surge In Users, Ad Revenues

Snapchat parent Snap reports user growth, revenues in spite of tough competition, in what may…

9 hours ago

Shein Subject To Most Stringent EU Digital Rules

Quick-growing fast-fashion company Shein must comply with most stringent level of EU digital rules after…

10 hours ago