On Thursday, March 3, 2016 at 3:41:54 AM UTC+1, Gourab wrote:
Hi All,Wanted to know if there is a plan for GWT to compile into ES6.
Google is working on J2Cl (as mentioned already by Emilio), which is (will be) a transpiler from Java to ES6 (as understood by the Closure Compiler, hence "Cl" in the name; the Closure Compiler –or Babel or whatever– then being possibly used to transpile ES6 to ES5 or ES3, and possibly bundle and optimize all the code).
J2Cl is expected to be the new compiler in GWT 3.0.
If not, will there be a situation when browser's deprecate Javascript and only supports ES6 and there is no way to migrate your application ? May be 10 years down the line ?
Any ES3 or ES5 script is a valid ES6 script; all JS engines supporting ES6 do "only" support ES6, there are no "modes" to be triggered by some configuration or what not (contrary to the old E4X for instance).
RegardsGourab.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment