|
|
|
Ask HN: Why isn't Java/Kotlin seen as a contender for cross-platform apps?
|
|
3 points
by LikeAnElephant
1219 days ago
|
|
I don't code in any of these platforms, so I'm asking genuinely. When this community talks about cross-platform desktop applications, they typically mean Electron, Tauri, or other similar web-based desktop apps. All of which are less than ideal for various reasons. Java apps have been cross-platform since well before it was cool. I've heard a lot of positive things about Kotlin. It's also kinda-sorta native, I think? So why does it seem Java-based cross-platform apps are rarely mentioned in these discussions? I know the negative aspects of the web-based desktop apps (bundle size, speed, etc). What are the negative aspects of a Java-based app? |
|
As for desktop apps, I guess it's just because web technologies has been Good Enough for a lot of use cases where one might consider using Java or Kotlin, plus you have a vastly bigger ecosystem, plus much better support across platforms (including iOS).
For what it's worth, I'm keeping one eye out on Compose Multiplatform: https://github.com/JetBrains/compose-jb . While it is still new and fairly rough, I've had positive experiences building simple desktop apps with it.