https://kotlinlang.org logo
Title
a

albertgao

04/12/2018, 12:58 AM
What is the latest status for kotlin.serialization support for KN?🤔 https://github.com/Kotlin/kotlinx.serialization/issues/86 This issue hasn’t got any official reply. Will it even happen?
a

albertgao

04/12/2018, 1:37 AM
@gildor Thanks, just saw that. So POC means WIP?
g

gildor

04/12/2018, 1:38 AM
POC stands for Proof of concept
👍 1
It means that theoretically it works and that’s all. But honestly I really don’t like solution with a separate dsl, imo would be better to wait for compiler plugins for K/N
s

spierce7

04/12/2018, 1:44 AM
@gildor But compiler plugins are a ways out right? I asked a few months ago at kotlinconf, and I was told that it hasn't even been designed yet.
g

gildor

04/12/2018, 1:45 AM
Kotlin Compilers already exist, but it’s completely internal API not intended to use by third party developers. We already have those compiler plugins: all-open, default constructor, serialization
problem that there are no compiler plugins for K/N, I suppose because K/N backend has very different structure (based on internal representation)
s

spierce7

04/12/2018, 1:47 AM
right, they said for the compiler plugins, they'd need to bring all the compilers under the same backend.
g

gildor

04/12/2018, 1:48 AM
About public compiler plugins API. I believe that Kotlin Team will start work on them only when Kotlin compiler refactoring will be finished for the all backends
yes, exactly
o

olonho

04/12/2018, 6:14 AM
serialization is being worked on by library team for all platforms, including Native
👍 5
g

gildor

04/12/2018, 10:52 AM
But would be nice to have the same serialization API on K/N as on JS and JVM