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 553898
To view parent comment, click here.
To read all comments associated with this story, please click here.
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

Lennie Member since:
2007-09-22

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

https://blog.mozilla.org/blog/2011/12/20/major-javascript-enhancemen...

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