Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

How does Google Web Toolkit do in deploying to browsers as well as mobile devices, tablets, televisions, etc.? Would a game targeting specific devices be optimized significantly for the device even when using GWT?

Edit

More specifically, I'm asking how would a game written in GWT perform on a limited system (phone, tablet, tv, etc.)? Are the general optimizations it does for different browsers good enough for other devices?

share|improve this question

closed as not a real question by Byte56, Maik Semder, Sean Middleditch, Laurent Couvidou, Anko Jun 13 '13 at 10:53

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
How it does and what optimized significantly mean will vary between everyone you ask. Do you have a more specific question? Sounds like you're interested in starting a discussion about it. –  Byte56 Jun 9 '13 at 23:32

2 Answers 2

up vote 3 down vote accepted

The GWT compiler tries to create browser-specific code, not device specific code. I haven't worked with it much lately, so I'm not sure what all the browsers it supports these days. Maybe it produces code especially for [desktop] chrome as well as [mobile] chrome. Since mobile is such a big focus these days, I'm sure the GWT compiler is also keeping those mobile browsers in mind.

share|improve this answer
    
playn which is a GWT framework, compiles only one version (permutation) that works in most modern browsers. Check the playn.gwt.xml file for details: code.google.com/p/playn/source/browse/html/src/playn/… –  sm4 Jun 10 '13 at 14:44

GWT is basically a compiler from Java to JavaScript. Instead of compiling Java to JVM Byte Code and running it in JVM, you get JavaScript which you run in (typically) browser. I worked with GWT for couple of years and performance-wise in browser it is ok, but you can write your own Javascript which will be more elegant, readable and little bit faster. The obvious advantage of GWT is that you don't have to write JavaScript, you don't even have to know it. Now your question is reduced to "how does JavaScript perform". And that of course solely depends on the JavaScript interpreter performance on the device in question.

Maybe you have already looked at playn, which is using GWT. Note that graphics are usually done using OpenGL anyway and that means using native code.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.