msgPack format, widely supported, similar to JSON, but more efficient
Thrift family bucket, refreshing
protobuf + gRpc
Based on my personal preference, I recommend Thrift. It does everything that needs to be done, allowing you to focus on the code logic
Obviously, normal people will not use pickle. This format can only be played in the Python world (and there are also version compatibility issues). However, now a slightly larger project, several languages are really too difficult to develop. It’s common (standard configuration), pickle has no use (it’s just a toy to play with)
For data exchange between different languages, you can use the following technologies protobuf, thrift, avro, zeroc ice. These can serialize data into binary. The efficiency is much higher than json transmission
Use Google’s protobuf
JSON is simple and crude
msgPack format, widely supported, similar to JSON, but more efficient
Thrift family bucket, refreshing
protobuf + gRpc
Based on my personal preference, I recommend Thrift. It does everything that needs to be done, allowing you to focus on the code logic
Obviously, normal people will not use pickle. This format can only be played in the Python world (and there are also version compatibility issues). However, now a slightly larger project, several languages are really too difficult to develop. It’s common (standard configuration), pickle has no use (it’s just a toy to play with)
For data exchange between different languages, you can use the following technologies
protobuf, thrift, avro, zeroc ice.
These can serialize data into binary. The efficiency is much higher than json transmission
Protobuf and thrift are both available.