3 ms·
Yeah idk why we didnt just send binary data representation therefore eliminate entire serialize and deserialize part
by tonyhart7 2y ago
Yeah idk why we didnt just send binary data representation therefore eliminate entire serialize and deserialize part
- tsimionescu 2y agoWhich binary data representation? If I'm sending a Java object, do you think a C program will be able to just use it? Or for that matter, do you think two different C++ implementations, maybe on different platforms, will use the same binary representation of a class object?
- tonyhart7 2y agojust need an standard for that
- tsimionescu 2y agoJava has a standard, each C implementation has a standard, Python has a standard, etc. The problem is that each of these standards is different, and impossible to modify. So, we need something that can serialize one standard to a wire format, and then deserialize from that wire format to another standard. Oh wait...
- tonyhart7 2y agoso we cant create a standard that can eliminate serde part????
- tsimionescu 2y agoI'm assuming you may be trolling me, but no, that can't realistically be done.
- tonyhart7 2y agoseems like skill issue to me
- coryrc 2y agocap'n proto does IIUC