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 🚀
Arjan van Wieringen
11/19/2023, 4:51 PM
It’s still strange for me that Google pushes two different UI frameworks
11/19/2023, 4:52 PM
@Jacob Ras Yeah, does CMP also use Impeller now?
@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.
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.
11/19/2023, 8:37 PM
@Joel Denke no, my wording was a bit confusing 😅 I meant new versions of Compose MP and new version of Flutter+Impeller
11/19/2023, 8:44 PM
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.
11/20/2023, 4:47 AM
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