3 ms·
Serialization doesn't go away because you still need it for network connections. Data formats useful for sending messages over the network can also be useful fo
by skybrian 5y ago
Serialization doesn't go away because you still need it for network connections. Data formats useful for sending messages over the network can also be useful for saving things to disk. These formats should be OS and language-independent and have rules for backward compatibility.
Consider how hard it would be to replicate a git repository if it's just a bunch of ad-hoc classes defined in one language.
Protobufs are one design that addresses these concerns. There are others. There is an impedence mismatch, but maybe this would be better addressed through languages that have better support for serialization?