I’m writing a Kotlin Native app. programs will be ...
# announcements
b
I’m writing a Kotlin Native app. programs will be run on many different architectures including mac/darwin x86_64, to linux x86_64, and even raspberry pi armv6/7. Are there any good libraries out there for file access yet? Basically I’m looking for something that takes the place of the java based stuff that we have in regular kotlin.
m
I had the same question recently
kotlinx-io is the standard library that is in the works but won't be ready any time soon
@Marcin Wisniowski pointed me to https://korlibs.soywiz.com/korio/
I wrote some very basic code to try it out and it seems to be pretty simple to use, although a bit different than any other library I've used before
If you are targeting Kotlin 1.4.10 you will need to use version "2.0.0-alpha"
b
thanks
m
the kotlin team also mentioned https://github.com/square/okio
I have not tried it however
b
i’ve used okio
it’s solid
but it’s java based
oh, i guess it’s multiplatform
m
yeah kotlin devs said it supports other platforms but not sure if that includes native