Are there any plans to upgrade llvm? We are trying...
# kotlin-native
g
Are there any plans to upgrade llvm? We are trying to make KMM support Harmony Native platform. Harmony Native uses version 15 of LLVM. Currently KMM uses LLVM 11, which has a large version difference.
a
Harmony Native Platform as in for Harmony OS?
i
Huawei HarmonyOS?
g
Harmony OS utilizes ArkTS, an extended syntax of TS, for high-level development, and it also supports .so libraries compiled by C++, similar to Android. ArkTS is analogous to Java on Android, and the Harmony Native I'm referring to is similar to Android Native. We are attempting to run Kotlin Native on Harmony. Currently, Harmony uses LLVM 15, while Kotlin Native uses LLVM 11, which presents a significant version gap. If the LLVM in Kotlin Native is upgraded to LLVM 15, it would likely facilitate our porting process. Furthermore, does JetBrains officially plan to support Harmony Native? Or could they provide some guidance? This would be of great assistance to us and also beneficial to the Kotlin ecosystem!
Yes, Huawei HarmonyOS
a
I thought their OHOS java sdk was the analogous to Java on Android. With Ability mapping to Activity and AbilitySlice mapping to Fragments. No??
t
Hi @Gavin Novate, Kotlin 2.1.0-Beta1 now uses LLVM 16.0.0. Are you still working on porting Kotlin to Harmony OS?
Is there any specific reason you are looking into porting Kotlin/Native instead of using Kotlin/JS (which I guess could work, too)? Performance maybe?
🙌 1
176 Views