Have the Kotlin team looked at setting up a Linux ...
# kotlin-native
n
Have the Kotlin team looked at setting up a Linux Device Lab for testing Kotlin Native on a wide range of different Linux/Embedded Linux based devices?
j
They have yet to do this for android, so I would not hold my breath.
n
I was talking about Linux here (for software development which isn't mobile related), not Android itself which is a different platform.
b
I think linux edge devices are much more important than android native
💯 4
3
As for jvm android, I'd assume it's Google's responsibility to test latest kotlin versions against their set of devices as well
☝️ 1
👍 1
n
Android development with Kotlin is already well covered via the Kotlin Android development platform.
j
Yeah that was not my point, point being is that since they officially said they are putting a lot of focus on mobile, and they have not put efforts into actually getting android native tested on real devices, I don't see that they are gonna be in a rush to solve it for linux
b
Whole point of android native is code sharing via cpp, but kotlin already allows you to do that via way more mainstream jvm android thanks to KMP
👍 1
j
Also not the point, but you are not wrong
b
@Joakim Forslund i think you have ios in mind. Kotlin native has nothing to do with android other than android native targets that don't really see much use in kotlin ecosystem.
👍 1
j
I don't agree, there is a lot of use for that in the kotlin ecosystem.
b
Of what, android native? What's the point when you have android jvm and kmp?
Not trying to pick on you, genuinely curious to know.
n
In the 2019 Kotlin survey that JetBrains did ( https://www.jetbrains.com/lp/devecosystem-2019/kotlin/ ) the Linux platform had significantly greater demand (74%) than Android (48%) as a Kotlin Native target. This is an important statistic that the Kotlin team need to take seriously. By contrast iOS (28%) sits just above WASM (25%). One can say with the survey that Linux is the Kotlin Native target with the highest demand. Do Note that this survey was done before the Kotlin WASM development platform was announced in the Kotlin Slack.
j
@Big Chungus This is highly usable for amonst other things for integration for game engines. For iOS/Native (except android native) you can just export a lib, write it as multiplatform and the code will be easily maintained for all targets(except for android native). For android you need to have a loosely coupled jni bridge that is not easy to maintain and loses all sort of references to the objects and makes debugging a real pain. Not to mention brings an overhead that is not actually needed.
b
Fair point, however I don't think the market for that is any higher than linux edge devices
👍 1
j
I'm not arguing against that. For me, both are related to the same topic. Testing on linux against real devices. Which yeah, android runs.
Because that is what is blocking lets say atomicfu to actually support androidNative