wtorek, 12 kwietnia 2016

The new AdWords UI uses Dart. What does it mean for GWT?

Recently Google has announced here that the new AdWords UI has been completly rewritten using Dart. I've found the interview with Joshy Joseph (the primary technical lead) very interesting.
Then I've compared Dart with the "new" GWT 3.0.

Ok, the new AdWords UI uses Dart. So what does it mean for GWT?




feature
Dart
GWT
explanation
transpiles well to Javascript
[x]
[x]
-
switch tech stacks easily
[ ]
[x]
GWT is Java, so you have a lot of other tools avaliable, and if you want you can even easily convert your classes i.e. to Kotlin in the future.
stronger type checking
[ ]
[x]
Dart users are excited about the work on Dart Strong Mode, Java has it already.
fast edit refresh
[ ]
[x]
Dart users are looking forward to cross-browser, fast edit refresh with the upcoming Dart Dev Compiler. Does it mean they are waiting for Super Dev Mode what GWT already has?
new js interop
[x]
[x]
-
being terse
[x]
[x]
Yes, when use GWT >= 2.8 with Java 8 it's also terse; if it's not enouth, there is Lombok, but I'm not sure how about GWT compatibility, but it's all about the syntax; I can gain the most when utilize framework features and here I mean Errai.
frameworks available
[x]
[x]
For Dart we can use Angular2, if about GWT I would go for Errai; for both Dart and GWT there are a lot of frameworks and even Angular for GWT if you really need.
native apps
[ ]
[x]
Ongoing work on Flutter for Dart; if about GWT we can use already Cordova, Phonegap, Appcelerator Titanium (via Titanium4J), ...


Do you agree?
What do you think about this summary?
For me the choice is obvious... GWT.

Especially when think about the future mentioned on the gwtproject.org, gwtcreate.com sites or articles like this or this.

Brak komentarzy:

Prześlij komentarz