Depending on the level of the performance penalty, loading class on demand
is much better than downloading all the application on start up, as GWT
does.
----
Another advantage of generate JS from compiled code is that one can write a
lib and don't have to make the sources available for users.

2008/8/25 Maxim <[EMAIL PROTECTED]>

>
> On Aug 25, 7:46 am, Arthur Kalmenson <[EMAIL PROTECTED]> wrote:
> > compiles statically typed languages. A lot of the GWT optimizations
> > rely on types being known at compile time and the removal of
> > Reflections, these two properties are fundamental in most dynamic
> > languages and would thus make it impossible to optimize code the
> > resulting JS the way the GWT compiler does.
>
> As I understand from:
>
> http://livelabs.com/volta/docs/issues/
> "At run time a Volta application downloads many files from the server,
> one for each class that is used.  The classes are loaded lazily, i.e.
> not downloaded until they are needed..."
>
> they do not need "by size" optimization - they load only those classes
> which are really used.
>
> From other side, loading class-by-class can seriously affect
> perfomance ...
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to