<https://medium.com/square-corner-blog/okio-2-6f6c...
# multiplatform
m
Does it go multiplatform?
I think that the channel you are looking for is #feed
t
Good question about multiplatform, @jessewilson can help here?
k
The announcement today is that they’ve moved code to kotlin. Jvm is the only implemented platform but the goal is to implement js and native. It’s multiplatform in that sense
g
Wow, this is huge!
o
Ah, now we have some competition! 😄 I mean with
<http://kotlinx.io|kotlinx.io>
being prepared and this multiplatform okio
g
Okio is blocking library, blog post mentions coroutines but really curious about their use case (will okio be non-blocking in the future or not)
o
Oh really?
g
Yeah, you can check any example from README, you cannot write such non-blocking code without coroutines: https://github.com/square/okio#read-a-text-file-line-by-line Or just check interfaces of default read and write primitives, they are syncronous https://github.com/square/okio/blob/master/okio/jvm/src/main/java/okio/Source.kt https://github.com/square/okio/blob/master/okio/jvm/src/main/java/okio/Sink.kt You can use with NIO as well, but not sure that you can achieve non-blocking read or write with this API