https://kotlinlang.org logo
#kvision
Title
# kvision
r

Robert Jaros

05/10/2021, 10:05 PM
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

Hywel Bennett

05/11/2021, 12:32 AM
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

bashor

05/11/2021, 6:26 PM
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

Hywel Bennett

05/12/2021, 8:47 AM
I see this issue when using 1.2 with the legacy backend: