https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
h

Hailong

09/11/2020, 8:22 AM
Hi guys! I am a Chinese developer and I am trying KMP recently. I have done enough research and it is great, and I am going to try KMP, but there are still two questions I haven’t found answers to. The questions are as follows: 1. What is the planning and ultimate goal of KMP in the later stage? 2. The principle of KMP compiler I wonder if there are any Kotlin related developers or others who can help me? thank you very much!
Anyone can help?😭
l

louiscad

09/14/2020, 8:52 AM
@Hailong KMP goal is to provide a good multiplatform option that allows to access native APIs while sharing code in a convenient way. There's probably other goals, but I'm leaving it to your imagination. For your second question, I'm not sure what you call "the principle of KMP compiler". BTW, there's no multiplatform compiler. Only a Gradle plugin or compiler arguments that can build the same Kotlin code for multiple target platforms with a different compiler (though some can share some code).
2 Views