Yes, you can write desktop apps with Kotlin . It is a general purpose programming language. There’s also a typesafe wrapper for JavaFX’s fxml in Kotlin, called TornadoFX . Kotlin was created as a replacement for Java and not exclusively as a replacement language for Android development.
Read moreIs Kotlin only used for mobile?
Kotlin can be used for any kind of development , be it server-side, client-side web and Android. With Kotlin/Native currently in the works, support for other platforms such as embedded systems, macOS and iOS is coming.11 Oca 2022
Read more