![]() For instance, it is possible to write a shared library in C++ and integrate it in Android via JNI and iOS via Swift/C interoperability. The concept of compiling a shared library to native code for both mobile platforms is not new. It is also heavily supported by JetBrains and Google, which probably means that this is more than yet another hyped cross-platform framework.įollowing the write once, compile everywhere pattern, Kotlin multiplatform code is regular Kotlin code compiled to JVM bytecode for Android and to LLVM bytecode for iOS. The project is getting more and more traction in the community right now. Wouldn’t it be nice to write Kotlin once and compile it everywhere? Enter Kotlin Multiplatform, which enables us to write the same code for the JVM as well as LLVM! As mobile developers, we often rewrite the same logic in another language, maintaining two similar codebases for Android and iOS.
0 Comments
Leave a Reply. |