• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Are GWT application heavy?

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
Are GWT application heavy on the client as they will download a couple of files for each browser?
Thanks in advance.
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

This link may help. Will GWT apps be larger than other Javascript apps? I think not, but it's probably not an apples to apples comparison. If you have a RIA toolkit, then you are more likely to create a richer, and therefore larger, app, no?

Cheers,
Glenn
 
author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi John,

This is a topic that I think needs more stats before it can be answered properly. The Google guys, like on the link Glen points to, say that GWT almost always beats hand written scripts etc, but figures are hard to come across.

As Glen mentions, there is a danger that given the ease of development there is a risk of throwing everything GWT has into your application so code will bloat, not due to GWT but just to using toys that may not have been used if it was more difficult to write.

GWTs approach aims to reduce size of output code as much as possible - each permutation only contains code for a particlar browser; the compiler aggressively removes unused Java code, unused i18n constants/messages are removed etc.

This article on this blog, http://timepedia.blogspot.com/2007/06/gwt-demystified.html, gives a good idea on what the compiler does and actually lists figures of source code versus compiler code sizes.

//Adam
 
A magnificient life is loaded with tough challenges. En garde tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic