4 ms·
Why does it absolutely need to? I thought the purpose of Kotlin was to primarily be a JVM language.
by sgt 7y ago
Why does it absolutely need to? I thought the purpose of Kotlin was to primarily be a JVM language.
- kasperni 7y agoIt started out with just Kotlin/JVM. But now you also have Kotlin/Native and Kotlin/JS. Being multi-platformed has some drawbacks, for example, that it can be difficult to expose certain abstractions that are only supported on a subset of the platforms.
- sgt 7y agoThanks, I didn't know that. It seems like that would slow down the project a bit.
- The_rationalist 7y agoKotlin can to lower it's IR to platform specifically intrinsics and have platform exclusive features to an extent. E.g inline classes are currently only available on the JVM
- kasperni 6y ago> Kotlin can to lower it's IR to platform specifically intrinsics and have platform exclusive features to an extent. As pointed out elsewhere this won't really help you in any way in this situation.