I've just hit a bug in kotlinx.serialization when ...
# kvision
r
I've just hit a bug in kotlinx.serialization when trying to migrate my fullstack app to new KVision 😞 https://github.com/Kotlin/kotlinx.serialization/issues/1464 Complete disaster ... no workaround possible. If you exchange a lot of string data in your fullstack KVision app, better stay with 4.4 until a fix is released.
h
Yeah I tried out Serialization 1.2 with the 1.5 IR backend and the performance of my KVision app really dropped. I think Serialization 1.2 requires the IR backend, but the JS IR backend is still in alpha and has no optimizations in place yet. I do a lot of work with collections for my WebGL components, and these are heavily affected.
b
kotlinx.serialization
should work with old compiler backend, except new things implemented in 1.2 like value classes support. Please let us know if you have any problem with it.
h
I see this issue when using 1.2 with the legacy backend: