|
|
|
|
|
by rnentjes
2379 days ago
|
|
There is nothing keeping them from not making some constructs not portable to certain platforms. Mostly they try to do this with standard language constructs (of course), but for example the 'dynamic' type is completely javascript specific. This only goes for Valhala. The other examples seem to be java playing catch-up to Kotlin (Panama for Kotlin native and Loom for co-routines). |
|
Does Kotlin/Native support multi field value classes?
Yes you can get around portability issues with multiple platform Kotlin, as many other guest languages have tried to.
However then one begs the question why use the language at all, when having to write the same stuff multiple times.
I rather have the JVM, .NET take the OS decision away, not see them as yet another OS to deploy on.