Linked by Thom Holwerda on Wed 27th Feb 2013 22:42 UTC
Mozilla & Gecko clones "Firefox OS could actually be wildly successful, no matter how underwhelming the actual phones may be. And that's because - at least for now - you're not the customer; your carrier is." I'm extremely disappointed by Firefox OS so far. There's nothing wrong with the low-end hardware we've seen during MWC, but there is something wrong with low-end hardware that can't even properly run its operating system. To make matters worse, carriers are the boss here. Terrible first impression.
Thread beginning with comment 553916
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:

It's called Type Inference and has been part of Firefox since the start of 2012:

Reply Parent Score: 3

Nelson Member since:

Its a neat trick, but how far will it get you? How long before you run out of obvious optimizations? How long before you run into the brick wall that is the language itself?

It just doesn't make sense. JS will always be worse off because it performs a lot at run time, that is done at compile time (with much more diligence) in other languages.

There simply isn't a comparison between the performance of a JS JIT compiler and what a good optimizing compiler or even C#'s JIT can do.

It is true that JS has geniuses working behind it (esp. the V8 team) but JS as it stands now isn't ready, and I'm not sure it'll ever even become good enough.

Reply Parent Score: 3

Lennie Member since:

Javascript is now about twice as slow as C in most cases. Where other scripting languages like Perl are more than a 100-times slower than C.

Where something like Java might be 1.3 or in certain cases faster than C (a JIT compiler can optimise stuff at runtime which normally a C-compiler would not build that into the compiled binary).

Javascript is basically the fastest scripting language right now. Faster than Lua for example, but Lua can still be faster because it is easier to exchange data with existing C-code. Lua is also a lot more memory efficient.

So yes, Javascript never was the best choice, but when did you ever see the best technology win ? Take VHS Betamax as an example. The "problem" is, Javascript is widespread and "good enough".

Also supposedly FirefoxOS uses less memory than Android because there are a whole lot less layers involved. So FirefoxOS might actually win from Android "native" apps on a lot of devices.

I read somewhere a few years ago that in servers memory usage as much power as the CPU. CPU's have become much more efficient. So that would mean Javascript could have similar power demands than Android/Java.

Reply Parent Score: 2