https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Marko Novakovic

03/04/2021, 9:46 PM
can somebody give more perspective on KMP vs Flutter? I know can have specific use cases, like if you have Android app in Kotlin and you just extract common logic and build iOS UI instead of building if from 0 with Flutter. But! I would like to hear your take on production apps, stability, performance etc. For somebody debating which one to learn what would be your arguments for KMP and Flutter?
a

Andrew

03/05/2021, 3:59 AM
As far as I know the use case for KMP is to write an app in the native language (swift for iOS) but have some shared code that was written in kotlin, mostly logic and not the actual UI. You can share as little or as much as you want so you get the benefit of native but only go down the shared rabbit hole as much as you want. With flutter its all flutter/dart and stuck in that ecosystem for better or worse. This is the kotlin slack so if we had to answer it might be biased towards KMP is better. For learning purposes I would recommend starting with the very basics of both, even if its just making a hello world app in each and/or running demo apps from code. You might have a preference on what to learn further after that.
m

Marko Novakovic

03/05/2021, 9:47 AM
Am using Flutter since 2017 but am not impressed. Looking into KMP now because I love Kotlin and I hear some great things about KMP
l

Lena Stepanova

03/05/2021, 1:59 PM
👍 1
m

Marko Novakovic

03/05/2021, 2:00 PM
@Lena Stepanova thank you
u

uli

03/05/2021, 11:50 PM
I wrote up some arguments for KN. It boils down to: share your code but let the platform team own the app. They know the platform best: https://dev.to/s2engineers/the-future-of-cross-platform-development-kotlin-multiplatform-35n8
👌 1
👍 1
3 Views