this post was submitted on 02 Sep 2023
14 points (100.0% liked)
Programming
14145 readers
10 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Kotlin Multiplatform is just a system that allows code to be shared between target platforms.
JVM is a target platform, meaning that once your application is compiled, it can run in a JVM.
Kotlin/Native is another target platform, meaning that once the application is compiled, it runs natively rather than through something like a VM.
Kotlin Multiplatform is not a target platform, it just makes code sharing easier.
Another important target platform is JS. If you target browsers using the JS target, Kotlin lets you build web apps. There already is pretty good support for major JS functions out of the box and if not, you can always include native JS code using special calls.