3 ms·
I'm not convinced that serialisation should be a first class citizen of a language. Mainly due to issues with unintended breaking changes causing carnage downst
by secondcoming 2y ago
I'm not convinced that serialisation should be a first class citizen of a language. Mainly due to issues with unintended breaking changes causing carnage downstream. Protobuf/FlatBuffers et all are way more safe.
Especially with C++ where doing something like serialising a bool raises questions about implementation defined behaviour such as:
- what bit pattern represents 'true'
- what is sizeof(bool)
- can something serialised with gcc be deserialised with clang
- steveklabnik 2y agoNone of this is specific to serialization. This is compile time meta programming. All of those questions are handled by the code that implements serialization, not the language feature that enables that code to be written.
- cryptonector 2y agoSerde supports many serialization standards. These issues don't apply.