3 ms·
To be clear, the OS is not written in Javascript. It's simply Mozilla's Gecko platform (the same engine used by Firefox, written in C++ since time immemorial) r
by kibwen 14y ago
To be clear, the OS is not written in Javascript. It's simply Mozilla's Gecko platform (the same engine used by Firefox, written in C++ since time immemorial) running directly on top of Linux. Nothing was rewritten to get this to work: Gecko was originally designed to be a portable application platform rather than "just" a layout engine (and it was this concomitant complexity that led Apple and Chrome to use Webkit (which is just a layout engine) for their own browsers).
It's literally just a web browser running directly on a smartphone. Any web apps that you're using right now will Just Work on Fx OS. No rewrites required.
One last point: it seems intuitive that Java would be more processor-efficient than Javascript, but SpiderMonkey is waaaaay more mature than Dalvik (Android's Java VM). I'd like to see some hard performance numbers before making that call.