I know this is a kind of provokative questions, but I need to ask:
Why not a Kotlin API to JavaFX? JavaFX really seems to take off recently. (I know there is TornadoFX, but the guy behind it is kind of a lone-soilder and it is not really a 1:1 mapping of ithe API).
And if it is about modern declarative GUIs with mobile and desktop support from the ground up… what about Flutter? o.o
🙌 1
b
Big Chungus
11/06/2020, 7:15 PM
Because the long term goal is true mpp ui library. That'd include android, jvm-desktop, native-desktop, ios and web
☝️ 4
Big Chungus
11/06/2020, 7:16 PM
Since jetpack-compose came first and is kotlin-first, it makes more sense to build on top of that rather than javafx, because it's then easier to port it to other kotlin targets.
Big Chungus
11/06/2020, 7:17 PM
That's my personal reasoning, not official statement by jb. Also there's already a POC of compose on the web (which wouldn't be possible so quickly if it was based on javafx)
r
romainguy
11/06/2020, 7:28 PM
Using Kotlin (as opposed to Dart with Flutter) gives you full access to existing Java/Kotlin APIs and complete interoperability
➕ 9
d
Draget
11/06/2020, 7:43 PM
Thanks for the feedback. I will keep an eye on all three projects and see how things develop. 🙂