4 ms·
Anyone using Kotlin to compile to javscript in a large app care to share some experiences?
by gldalmaso 10y ago
Anyone using Kotlin to compile to javscript in a large app care to share some experiences?
- avodonosov 10y agoJS support was an experimental and TODO for a long time. Is it ready now?
- mr_tristan 10y agoI don't believe JavaScript will be "un-experimental" until Kotlin 1.1 is out.
- jean79 10y agoWe do. We are migrating our WPF, Flex, VB6 apps to our custom fw based on KotlinJS, ViewModels and bindable properties. There are some kotlin features whixh are not yet supported by JS compiler, ocassionaly something stops working with a new version of Kotlin plugin, but in general it is still the most productive frontend solution I experienced. We also generate a Kotlin domain classes from our Java backend domain objects to keep strongly typing when building UI.
- isoos 10y agoI have found Kotlin and Dart similar in many aspects, with the major difference that Kotlin is much better if you have a ton of Java libraries that you want to use along your code, while Dart is much better if you want to do frontend development. I'd suggest to check it out if your primary focus is compiling to javascript.