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
gildor
01/15/2019, 3:05 PM
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
orangy
01/15/2019, 3:21 PM
This is work in progress, but no specific ETA
👍 4
🎉 2
g
gildor
01/15/2019, 3:21 PM
Great news 👍
o
orangy
01/15/2019, 3:49 PM
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
gildor
01/15/2019, 4:24 PM
Use case for js is node.js abstraction for files
o
orangy
01/15/2019, 4:29 PM
Yeah, but I wonder if anyone really uses Kotlin for node.js?
g
gildor
01/15/2019, 4:30 PM
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
orangy
01/15/2019, 4:31 PM
But serverless doesn’t need File IO?
g
gildor
01/15/2019, 4:34 PM
We have functions for file processing and use temporary files (for audio)
gildor
01/15/2019, 4:36 PM
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