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 553896
To view parent comment, click here.
To read all comments associated with this story, please click here.
moondevil
Member since:
2005-07-08

I doubt that Firefox OS will ever be able to run faster as my optimized C#/Java/C++ applications.

The JavaScript JIT better be a very good one.

Reply Parent Score: 2

przemo_li Member since:
2010-06-01

Both C# and Java use JIT...

Reply Parent Score: 4

Carewolf Member since:
2005-09-08

Yes but Java and C# have better defined datastructures. One of the problems with compiling JavaScript is that the central datastructure is essentially a hash-table, which makes it very hard to convert to efficient machine code, though there are several tricks to try anyway and then go back to interpretation if it fails.

Reply Parent Score: 3

moondevil Member since:
2005-07-08

Both C# and Java use JIT...


Time to pay more attention to compiler design classes.

Languages != Implementation.

There are native code compilers for C# and Java available.

Even on Windows you can compile C# directly to native code by making use of NGEN.

Are you aware that .NET Windows Phone 8 applications are actually compiled to native code?

Or that there are Java native code compilers for iOS?

Reply Parent Score: 2

Nelson Member since:
2005-11-29

And the C# JIT has over a decade of work going into it, and Microsoft's extensive language and compiler experience from even longer than that.

JS doesn't do even a fraction of the optimization even a clumsy C# JIT does. Start doing install-time native compilation of C# and the story gets even better.

Reply Parent Score: 3

crystall Member since:
2007-02-06

I doubt that Firefox OS will ever be able to run faster as my optimized C#/Java/C++ applications.

It depends a lot on what you're doing, for applications with a heavy computational factor it most certainly won't (though matching Java/C# is not impossible in JavaScript). For applications leveraging the runtime more it can be every bit as fast as a native application from the user perspective.

The JavaScript JIT better be a very good one.

It is improving and some of the latest optimization frameworks being introduced @Mozilla are specifically geared towards actual web apps rather than regular web pages (the IonMonkey JIT for example).

Reply Parent Score: 3

Nelson Member since:
2005-11-29


It depends a lot on what you're doing, for applications with a heavy computational factor it most certainly won't (though matching Java/C# is not impossible in JavaScript). For applications leveraging the runtime more it can be every bit as fast as a native application from the user perspective.


You just don't know enough about the executing code to do meaningful code optimization, and are running under time constraints as the code gen is happening in real time. This is in contrast to the case with C#, especially as moondevil mentioned, where compilation is done offload and gratuitous optimizations can be applied.


It is improving and some of the latest optimization frameworks being introduced @Mozilla are specifically geared towards actual web apps rather than regular web pages (the IonMonkey JIT for example).


Mozilla being on its Nth JavaScript engine doesn't really impress me as much as it once did.

Reply Parent Score: 3