Hi all, I'm starting a new knative project (I have...
# kotlin-native
v
Hi all, I'm starting a new knative project (I have previous kotlin-jvm) experience, and I need to manipulate files quite a bit, and noticed that those are dependent on platform using fopen, is there a plan to create a multiplatform abstraction around the File concept to be multiplatform as well?
g
This mentioned a few times by Kotlin Team, so probably there are some plans, but now even Multiplatform IO library is still experimental which required for file library. So probably there are just plans for now
👍 1
o
This is work in progress, but no specific ETA
👍 4
🎉 2
g
Great news 👍
o
One thing I would like to know are usecases for JS in MPP style. JVM is clear, Native is clear, but JS? Do we need some kind of file abstraction in the browser?
g
Use case for js is node.js abstraction for files
o
Yeah, but I wonder if anyone really uses Kotlin for node.js?
g
It's still the case for serverless Yeah native is also suitable, but js and node.js is much more common and have better support on most of serverless services
o
But serverless doesn’t need File IO?
g
We have functions for file processing and use temporary files (for audio)
I don't want to say that it's something that must be available for MPP files lib, but there are valid use cases for files even for server less
o
Okay, thanks, makes sense