Timeline for Abstract base class for binary serialization
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 24, 2023 at 6:22 | history | edited | Peter Csala |
edited tags
|
|
Jan 7, 2023 at 5:24 | comment | added | Saturn | @JörgWMittag thank you! Serde looks surprisingly robust and refreshing. Will look into it! | |
Jan 7, 2023 at 1:19 | comment | added | Jörg W Mittag | … implemented as a separate, third-party module, you never have to add or modify something in Serde itself. If you have 2 hours time, I can only recommend the video linked on the Serde homepage. | |
Jan 7, 2023 at 1:17 | comment | added | Jörg W Mittag |
… simple interfaces, and your serialization format will work with any serializable type without you having to know anything about the types. 3) There is no runtime reflection, figuring out how to serialize your custom type and how to generate the custom serialization format, all happens at compile time with no runtime overhead. 4) For simple composite types, e.g. struct s, Serde can automatically generate the implementation of the serialization and deserialization interfaces for you, at compile time. 5) Of course, both the serialization for the data type and the serialization format are …
|
|
Jan 7, 2023 at 1:14 | comment | added | Jörg W Mittag | By the way, if you are interested in what a modern serialization library looks like, I can only recommend studying the Serde crate for (and written in) the Rust programming language. It has some pretty interesting features: 1) If you want to make your data type serializable, you only need to implement some simple interfaces, and your type will work with any serialization format without you having to know anything about the serialization formats. 2) If you want to implement a serialization format for Serde, you only need to implement some … | |
Jan 7, 2023 at 0:01 | history | tweeted | twitter.com/StackCodeReview/status/1611513286188564480 | ||
Jan 6, 2023 at 20:20 | history | became hot network question | |||
Jan 6, 2023 at 13:50 | history | edited | pacmaninbw♦ | CC BY-SA 4.0 |
added 86 characters in body; edited title
|
Jan 6, 2023 at 13:07 | vote | accept | Saturn | ||
Jan 6, 2023 at 13:00 | answer | added | Peter Csala | timeline score: 6 | |
Jan 6, 2023 at 12:20 | history | asked | Saturn | CC BY-SA 4.0 |