https://kotlinlang.org logo
#compose
Title
# compose
s

Sololo

12/03/2021, 6:15 AM
what is the Compose’s advantage over Flutter?
1
c

Chris Sinco [G]

12/03/2021, 6:19 AM
It depends 🙂
z

Zach Klippenstein (he/him) [MOD]

12/03/2021, 6:19 PM
My personal opinion is that one of the biggest advantages of Compose is Kotlin - and one of the primary wins of JVM Kotlin over Dart is decades of preexisting ecosystem, as well as more widespread knowledge about runtime details and probably even the language itself. Framed another way, if you already have a ton of android/Java code, it's a lot easier to use that from Kotlin (and thus Compose) than Dart.
c

Chris Sinco [G]

12/03/2021, 6:21 PM
Yeah, the pervasiveness of Kotlin/Java in the developer community can not be understated in what drives and maintains adoption, versus Dart.
z

Zach Klippenstein (he/him) [MOD]

12/03/2021, 6:24 PM
Another related benefit, although it's about more than just language, is it's probably a lot easier to incrementally adopt compose since you can theoretically do it on a view-by-view basis, which is, AFAIK, a lot more awkward with flutter.
c

Chris Sinco [G]

12/03/2021, 6:33 PM
Yeah, Flutter would take a whole rewrite if migrating
4 Views