this post was submitted on 02 Sep 2023
14 points (100.0% liked)

Programming

13384 readers
1 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
14
submitted 1 year ago* (last edited 1 year ago) by Aatube@kbin.social to c/programming
 

Hi, I'm somewhat new to Kotlin programming and so far it's becoming my favorite language. I was browsing some Kotlin projects when I found Komac, which recently switched to the Multiplatform target from only having the JVM target.
As far as I know, JVM can also run on all platforms without the use of minGW except for iOS but I don't have a developer certificate or incentive to work beyond CMD scripts so far, so is there an advantage for Kotlin Multiplatform?

top 2 comments
sorted by: hot top controversial new old
[–] gerbilOFdoom 5 points 1 year ago

JVM can run on any platform that supports Java, as you're building Kotlin directly into Java bytecode.

Multiplatform is for building native applications while using a single backend logic. You'll have to write separate handlers for everything unique to the platform, according to documentation.