3 ms·
Not sure... for some types of apps they might "compete" but for many not, I think: I view (after some toying with Flutter) the GPU UI renderers ala Flutter, QT/
by dualogy 2y ago
Not sure... for some types of apps they might "compete" but for many not, I think: I view (after some toying with Flutter) the GPU UI renderers ala Flutter, QT/QML, gioUI, slint.dev etc as modern Flash-like options in a "can do anything graphically you could do with HTML+CSS+JS, which isn't the prime choice for some devs or some apps or those that don't want to have to end up with Ionic/Electron" manner — whereas KMM likely (my vague assumption) abstracts the common native GUI components shared among all platforms, plus allow platform-specific special ones too, I suppose? Or is KMM also going for custom GPU rendition?
Flutter & co. might just much more emphasize their graphical / fully-brandable nature rather than focus on their always-catching-up-and-slightly-off apings-of-native-UX.
If my KMM assumptions are somewhat correct, then it'll probably eat some of Flutter&co's lunch but not that much of it..
- mike_hearn 2y agoKMM has two ways to do UI. You can do it natively and use Kotlin only for shared business logic (it inter-ops with Swift/Objective C). Or, you can take the new Android UI toolkit (Jetpack Compose) and it use it on desktop/iOS/web as well, for your whole app.
- mdhb 2y agoDart also has native interop with Swift, Objective C, Rust, C, Java, Kotlin and JavaScript. It also has more compile targets as far as I am aware too. On top of the standard web, iOS, macOS, windows and Linux across all the standard chipsets plus emerging ones like RISC-V plus it also has support for WASM. I don’t know of anyone with that level of cross platform and cross language interop out there currently which is also something you would want to write significant business logic or UI in.
- mwcampbell 2y agoStill, for cross-platform mobile and desktop apps, the Dart website recommends Flutter with no qualifications, and Flutter only covers the approach of a single cross-platform UI, as opposed to native UI with a cross-platform backend. The fact that Kotlin officially supports the second option makes it more appealing to me.
- isodev 2y agoThere is also a webview based approach, like https://v2.tauri.app/ https://v2.tauri.app/ which comes with all the upsides of creating a lightweight HTML+CSS+JS UI but instead of shipping copies of chromium, it runs using the system's webview browser engine.
- dualogy 2y agoOh yeah by "Electron" I meant "and its alternatives" such as Tauri, Wails, github.com/webview etc.