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
gildor
03/16/2019, 3:16 PM
ArrayList available on K/N stdlib
s
Strum355
03/16/2019, 7:15 PM
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
olonho
03/16/2019, 7:44 PM
Kotlin common standard library is available, you can produce native libs and executables for many platforms, including Linux
✔️ 1
s
Strum355
03/16/2019, 7:53 PM
I see its missing a lot of classes and methods that are marked as jvm only in the docs :/
g
gildor
03/17/2019, 1:23 AM
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
Sam
03/18/2019, 12:03 PM
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.