Linked by Thom Holwerda on Thu 13th Sep 2012 20:00 UTC, submitted by MOS6510
Mozilla & Gecko clones "Over the past year and a half I've been spending more and more of my time working with Mozilla's latest project, Firefox OS. During that time I've fallen in love with the project and what it stands for, in ways that I've never experienced with a technology platform before." I'm not convinced just yet. I hope it succeeds, but I just doubt it actually will.
Thread beginning with comment 535381
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[9]: Another fallen mobile OS.
by Alfman on Mon 17th Sep 2012 01:24 UTC in reply to "RE[8]: Another fallen mobile OS."
Alfman
Member since:
2011-01-28

galvanash,

"So all in all I would say your original observation was dead on - most of the delta between GCC and JS in your example is purely object access."

The question becomes how to optimise it. I think you may have been on the way to this idea before getting sidetracked by my benchmark: in theory the JS compiler might convert the dynamic object into a static structure under the hood. But I see that as being a difficult challenge because in JS we don't know which members to allocate prior to execution. A simple analysis may work for simple scripts, but I can conceive of other cases where the compiler will have to run the entire script before being able to determine what static structure it should be using.

We probably ought to revisit this topic on a new article with more time to discuss it.

Edited 2012-09-17 01:28 UTC

Reply Parent Score: 2