https://kotlinlang.org logo
Title
a

Abdullah Samir

08/07/2022, 2:38 PM
Is there an JVM in kotlin for android and in native no JVM or what?
v

Vampire

08/07/2022, 3:22 PM
Please do not split topics across several threads. This makes following the conversation in the threads view very hard as the context of the other messages is missing. If you have additional information either edit the original message or post to its thread. Regarding the question, exactly, native compiles to native code, Kotlin for Android to code for the Dalvik VM.
a

Andrew O'Hara

08/07/2022, 4:51 PM
Basically, if you want to make an android app, use Kotlin for android. If you want to share code between many platforms (including android), then use Kotlin native or Kotlin Multiplatform.
a

Abdullah Samir

08/07/2022, 9:10 PM
Thank you a lot for explanation, but i have another question , Kotlin native could translate to android and the same time to IOS??
l

Landry Norris

08/08/2022, 2:35 AM
You can use Kotlin Native for Android NDK (what you'd usually use if you write a C++ app). Think of Kotlin Native as C/C++/Objective-C