Can i use kotlin native so that i can end up with ...
# kotlin-native
s
Can i use kotlin native so that i can end up with a native binary instead of a jar file while also having data structures like arraylist available?
g
ArrayList available on K/N stdlib
s
I saw that exists. What about others? What would i be losing by going for K/N? And is K/N viable for standard Linux binaries without using C/C++?
o
Kotlin common standard library is available, you can produce native libs and executables for many platforms, including Linux
✔️ 1
s
I see its missing a lot of classes and methods that are marked as jvm only in the docs :/
g
Yes, not everything is available, if some particular data structure is not available on K/N now, you can open a feature request to add it and give your use cases, there are few similar issues, as I remember
s
In K/N you also have access to various platform libraries such as posix on Unix based systems. Using the cinterop tool you can pull in other external libraries as well. There are a lot of good small demo programs in the GitHub repo.