https://kotlinlang.org logo
#serialization
Title
# serialization
n

neworldlt

03/28/2018, 4:11 PM
I noticed, there are sourcegen branch:
<https://github.com/Kotlin/kotlinx.serialization/tree/sourcegen>
. I am curious, is it because plugin isn’t a solution after all?
s

sandwwraith

03/28/2018, 6:38 PM
Plugin API isn’t available on Kotlin/Native compiler yet. Furthermore, experimenting with api is quite slow when you have to precisely manipulate produced bytecode
n

neworldlt

03/28/2018, 6:46 PM
Is there any chance plugin support will be dropped?
s

sandwwraith

03/28/2018, 6:55 PM
Since the whole library is experimental thing, we are far from making final decisions on it. Compiler plugin is useful thing though, but it can be changed completely (maybe even generate source code)
n

neworldlt

03/28/2018, 7:12 PM
Make sense. Thanks for info
3 Views