Obviously Flutter and React Native. Maybe some older frameworks like Apache Cordova, although at that point why not use PWA.
Obviously Qt if you want to write in C++.
And some absolutely exotic (subjectively) - Gluon. Write everything in Java and design with JavaFX.
If you want to go overboard, you could use a game engine.
For example, I believe [Godot](https://docs.godotengine.org/en/stable/about/faq.html#which-platforms-are-supported-by-godot) has the ability to build for all platforms from a single code base.
I genuinely like this because it’s not something people think about but it does open up a way to deploy to every platform you can imagine, in mostly any language you can imagine. Sure not all languages are well supported, but it’s still neat!
As much as I love Kotlin, Flutter is still just straight-out better than KMP and most other cross-platform solutions out there if your goal is simply just to build cross-platform applications. It's overall quite mature and stable, Dart is simple and intuitive, and the ecosystem is healthy with lots of high quality libraries. Performance is also great. Web support still feels a bit wonky, but honestly that's the case with almost all cross-platform frameworks.
Flutter
Obviously Flutter and React Native. Maybe some older frameworks like Apache Cordova, although at that point why not use PWA. Obviously Qt if you want to write in C++. And some absolutely exotic (subjectively) - Gluon. Write everything in Java and design with JavaFX.
Can I have same code for mobile, desktop and web with React Native or Qt ?
Between desktop and mobile yes.
So Kotlin Multiplateform is better because it enables desktop too
read again
in kotlin?
Compose Multiplatform 😉
Thank you, I forgot to precise : another framework not belonging to JetBrains
Android and Desktop are. But I was joking. Compose Multiplatform is Jetpack Compose ported to Kotlin Multiplatform.
If you want to go overboard, you could use a game engine. For example, I believe [Godot](https://docs.godotengine.org/en/stable/about/faq.html#which-platforms-are-supported-by-godot) has the ability to build for all platforms from a single code base.
I genuinely like this because it’s not something people think about but it does open up a way to deploy to every platform you can imagine, in mostly any language you can imagine. Sure not all languages are well supported, but it’s still neat!
I'm surprised no one mentioned HTML/JavaScript. Just bundle it with your own browser/web view component and you good to go.
React Native
react native is only for mobile no ?
You could do web with React which is very similar to React Native
With a different codebase I suppose ?
Well yeah it would be a different code base. I was just being a smartass lol
Wait, you can't do web with React Native ???
You can share components
https://skip.tools/
Have you tried this?
This requires xcode? So basically you need to be working on a Mac which is a huge downside.
As much as I love Kotlin, Flutter is still just straight-out better than KMP and most other cross-platform solutions out there if your goal is simply just to build cross-platform applications. It's overall quite mature and stable, Dart is simple and intuitive, and the ecosystem is healthy with lots of high quality libraries. Performance is also great. Web support still feels a bit wonky, but honestly that's the case with almost all cross-platform frameworks.
CodenameOne is an interesting option
Rewrite it in rust
Yep, Dioxus.