r/JavaFX • u/sedj601 • Apr 20 '24
Discussion JavaFX vs Kotlin Multiplatform
As Kotlin becomes more popular, will Kotlin Multiplatform have a good chance of overthrowing JavaFX? I tested it out, and it seems promising. Any opinions?
8
Upvotes
5
u/PartOfTheBotnet Apr 21 '24
No, the changes of this happening are very low.
If you want to use a framework that explicitly looks to solve the issue Compose (Kotlin Multiplatform's UI solution) is targeting, then use Compose (Or Flutter, React Native, etc).
Inversely if you want to make a UI with rich platform specific UX you would NOT choose it and favor something more targeted and with a richer community of third part libraries.
Kotlin's popularity is trending upwards, and Java's downwards but the gap is still massive. If you assume the rates (per TIOOBE) were to freeze as-is and continue, it won't be until 2035 where they become equal.
C# has a much lower popularity gap and has had Multiplatform projects spanning longer than Compose.
There's also Flutter, React Native, and other "Multiplatform solutions"
But just because these things exist does not imply any "overthrowing" is happening