<https://www.jacobras.nl/2023/09/android-ios-nativ...
# compose
j
https://www.jacobras.nl/2023/09/android-ios-native-flutter-compose-kmp/ Interesting comparison on quite recent version of CMP and Flutter vs native. Anyone see more comparison in tooling, compile times, debugging etc? In latest CMP 1.5.1 I can barely notice any difference in iOS if going vanilla style. Also seems new uikit experimental flag.
j
It would be interesting to update the tests now that there are new versions of Compose Multiplatform but also Flutter, with their new Impeller renderer! I didn't compare any (incremental) build times here but that feels to have improved a lot with the latest Kotlin & Compose MP updates 🚀
a
It’s still strange for me that Google pushes two different UI frameworks
1
j
@Jacob Ras Yeah, does CMP also use Impeller now?
🚫 1
@Arjan van Wieringen As Google business benefits from content, they always benefit provide all frameworks. Same goes for v8 engine, Webview, Android and such. If they would only have one thing they believed in, we would have less competition. Imagine they replaces everything with Wasm or such. Would be quite bad I think.
👍 2
But I think KMP/CMP touched something all successors failed in, bidirectional interop and possibility cherry pick what do in CMP and KMP vs "native" (Not even sure what native is anymore 🤣). That makes it much more attractive partly testing it and go back if regret without huge loss. Compared to Flutter being all or nothing. To me it feels like KMP / Kotlin is very similar to LLVM solution Swift provides. And should be possible do equal performance as Apple. However Apples locked in eco system of hardware like CPU and software they will always optimize only their stuff and let everyone else guess how do the same. Also not sure how gcc work in the iOS and kotlin world. Would be interesting benchmark in equivalent ARM architecture of Apples chips vs Google chips in Pixel phones how all these frameworks perform and of they do sub optimization in their own platforms.
j
@Joel Denke no, my wording was a bit confusing 😅 I meant new versions of Compose MP and new version of Flutter+Impeller
j
Ah ok sorry @Jacob Ras :) Would be interesting hear in depth comparisons of software improvements and techniques used by Google, Jetbrains etc to optimize. Like how did they find out Impeller could solve Flutter jank stuttering or what its called. Also what differ lets say CMP and native rendering.
p
I side with one of the above comments in regards to the 2 UI frameworks existence. I believe Google is offering options for developers to choose. Perhaps one remains, perhaps both remain in the market perhaps both succeed. The next 5 years will tell