Compose-runtime can be compiled by Kotlin/Native after (relatively small) patch, see https://github.com/msink/kotlin-compose-sdl/tree/master/compose-runtime
About next step - compose-compiler-plugin - seems that it will be possible only after it will be moved from google-patched Kotlin compiler to mainline JetBrains version.
s
Steve
02/10/2020, 6:34 PM
It could be, but you're going to have exponentially better results using the native tool on the platform.
s
shikasd
02/10/2020, 7:39 PM
@msink If I remember correctly, compiler plugin uses jvm backend specific transformations which cannot be applied for native, so probably some things need to be migrated there as well.
a
Ash
02/11/2020, 1:45 AM
as someone who teaches SwiftUI ... I have to say my Compose code benefits from understanding SwiftUI. And my SwiftUI code benefits from understanding Compose ... The Apple team has done an amazing job with the CombineFramework / SwiftUI. For the people who want to do SwiftUI on Android, I always tout the amazing work the Android Team is doing with Compose ðĪŠ