https://kotlinlang.org logo
Title
i

Ian

10/23/2017, 3:25 AM
We’re thinking about writing a desktop app in Kotlin. We’ll initially target the JVM, but it would be nice if we could do things in a way that will make it easier to compile to native also. Are there any high-level suggestions for doing this? I guess try to avoid any Java dependencies that don’t have similar native equivalents…
e

elizarov

10/23/2017, 9:16 AM
You should really look at #tornadofx
u

uli

10/23/2017, 3:24 PM
Abstract your dependencies away. Write as much code as you can in a platform independent module. Then provide your platform dependent dependencies by interface. Google clean architecture.