Friday, December 22nd, 2006

GWT Compilation Details

Category: Google, GWT, Interview

Frank Sommers has interviewed Scott Blum of Google on the compilation process that GWT goes through to get your Java code to convert to JavaScript.

Scott answers:

  • Could you start by giving us an overview of the GWT development process?
  • What are the biggest differences in the JavaScript the GWT generates for the various browsers?
  • What happens to a Java class when it’s compiled into JavaScript?
  • What are prototype-based objects?
  • What types of Java code are the hardest to translate to JavaScript?
  • You mentioned that browser-specific functionality is brought into the compile process from external libraries. Can you explain how that works?
  • Once you have those browser-specific versions, how do you deploy them so that each browser gets only the code aimed for it?
  • You said earlier that JavaScript is more flexible than Java. In what way do you take advantage of more flexibility in JavaScript to get, say, better performance, or more concise code?
  • In addition to excellent Java developer tools, what do you think are the biggest differences for a developer between writing a browser-based application in Java versus writing that app directly in JavaScript?
  • What are the GWT compiler’s current limitations in translating Java code to JavaScript?

A lot of fantastic detail in there for you. What else would you like to know from Scott?

Posted by Dion Almaer at 11:07 am
Comment here

3.7 rating from 35 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.