jw
09/24/2018, 6:13 PMelizarov
09/24/2018, 6:27 PMelizarov
09/24/2018, 6:28 PMObjectOutputStream
is extremely expensive to create, so you’d never write a code like that in an actual enterprise project. In the enterprise I’ve worked for we had our own highly domain-specific wrapper and a set of utilites on top of OOS to make it memory-efficient and fast.Fleshgrinder
09/24/2018, 6:39 PMelizarov
09/24/2018, 7:31 PMkotlinx.serialization
Fleshgrinder
09/24/2018, 7:33 PMgildor
09/25/2018, 1:39 AMno update to JDK9/10What do you mean?
Fleshgrinder
09/25/2018, 8:09 AMVsevolod Tolstopyatov [JB]
09/25/2018, 1:47 PMProtobuf requires tons of annotations…
or require one to write schemaWe’re going to fix both issues in
kotlinx.serialization
for Protobuf. Data classes will get first-class support without additional annotations (expect for specific optionality etc.) and it will be possible to generate schema from classFleshgrinder
09/25/2018, 2:23 PMwakingrufus
09/27/2018, 5:54 PMSerializable
being removed from newer versions of JDK anyway?