Thanks Nick,

I forgot to mention that part. We have looked at that as we have been testing.

>Disclaimer: I'm no compiler expert, but have a general interest

To me you don't need to be that... Your point is as important to me as 
anyone's. I appreciate your answer.

>Javascript is actually quite a hard language to optimise as it is a
>high level dynamic language, and heavily based on Objects and method
>calls.

true. It is also true, because of that fact, it is a slowly executing language.

>Some of the optimisations you cite can be applied within the
>Javascript interpreter, and that's exactly what is happening inside
>the major browser. You'll see that applications like gmail are getting
>more responsive year on year (not just due to hardware, but due to
>better JS interpreters). This is great as it means all JS frameworks
>are benefiting from these optimisations, Qooxdoo included.

true...but as of today there is a significant difference on how you for example 
code a loop in the same browser and also between browsers.
That is why it is still possible to improve the speed. Tomorrow browser 
improvements might change it even more, but we are not there yet.

>Having said that, a lot of work has gone on to improve Qooxdoo
>performance from an engineering standpoint using profiling, and these
>may well have had more dramatic improvements than any of the
>optimisations you've listed. (i.e. what is the fastest way to call a
>method on each browser/what's the most efficient way to manipulate an
>array and hash on each platform/what operations can be made lazy to
>improve startup time etc. etc)

true. I agree, but it is not only a question about qooxdoo. You also "compile" 
your own application with the generator..and you don't want to write ugly code 
but at the same time you want a fast executing application.

>So in summary, Qooxdoo does many optimisations based on measurement
>and what is realistic, and then some of the optimisations you list
>happen inside the browser for additional ooomph.

We will summarize some of our findings by time, but first we needed to ask a 
few questions to the core team to get them confirmed.

>Hope I explained that OK.
Sure you did. Thanks

Stefan
                                          
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to