Tuesday, February 23, 2016

Re: What is j2cl?

Looks like GWT follows suit with the jsinterop development.

Still it is good to have things such Collection<MyDataType> and Map<> for compatibility with backend classes. jsweet looks like it provides the same deal for javascript (instead of java) with its nodejs compatibility. However my backend (several KLOC) is java and GWT is a better proposition for me.


On Tue, Feb 23, 2016 at 11:49 PM, Hristo Stoyanov <hr.stoyanov@gmail.com> wrote:
... they did it on purpose:

... a consequence of the simpler approach JSweet takes,  is that they actually shipped and will be able to evolve jsweet much more quickly in future, IMO


On Tuesday, February 23, 2016 at 3:08:48 AM UTC-8, Thomas Broyer wrote:


On Tuesday, February 23, 2016 at 11:47:58 AM UTC+1, Norbert Sándor wrote:
> Unless you can get a perfect 1:1 mapping to java apis, people are going to use a java type, and not get java behavior.  That would be Very Bad (tm).

This is what http://www.jsweet.org/ does...

AFAICT from their docs, most of the Java "standard library" is unavailable to JSweet: java.lang.* "wrappers" around primitive types don't allow any method call (in other words, they're just nullable primitives), no java.util.Date, no java.util.List et al.
No java.util.Map.

--
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.



--
Vassilis Virvilis

--
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