News for hackers. Stuff that matters.
Re:JetBrains Web UI components open-sourced by bitL on Friday August 04, 2017 @01:18PM (#14930211)
How efficient is the conversion performance-wise and code-length wise? Can I finally get rid of GWT if I want to develop web apps with JVM tooling? Is the debug mapping between JS variables and JVM variables better than with GWT and super dev mode? Is it easy to use Kotlin with ReactVR/Native?
Re:JetBrains Web UI components open-sourced by rnentjes on Friday August 04, 2017 @02:15PM (#14930671)
With the 1.1.4 version they have added a dead code eliminator which really helps with the resulting javascript length. In the example above the resulting javascript file is 440 KB (zipped 113 KB). Which is not bad if you take into account that the included libraries are more than 2MB (the standard library and static html builders being the biggest ones).

I haven't measured runtime performance, but I haven't noticed anything being slower than plain javascript yet. A clean compile in this example takes ~8 second, incremental compiles takes 3-4 seconds.

The jvm doesn't play a role when targeting javascript so I am not sure what you mean with JVM variables and I don't know much about GWT. But you can debug the resulting javascript from intellij and step through the kotlin sources if you want.

I don't know how easy it is to integrate with react.

Re:JetBrains Web UI components open-sourced by tootie on Friday August 04, 2017 @06:00PM (#14932707)
Is isomorphic Kotlin a thing yet?
Re:JetBrains Web UI components open-sourced by adamnemecek on Friday August 04, 2017 @06:39PM (#14932957)
This stack is isomorphic no?
Re:JetBrains Web UI components open-sourced by pas on Tuesday August 08, 2017 @09:58AM (#14957808)