C++序列化、反序列化

几个常见的库

http://stackoverflow.com/questions/3637581/fastest-c-serialization

  • Boost: Fast, assorted C++ library including serialization
  • protobuf: Fast cross-platform, cross-language serialization with C++ module
  • thrift: Flexible cross-platform, cross-language serialization with C++ module

具体的网址

https://github.com/google/flatbuffers

https://github.com/google/protobuf

https://github.com/apache/thrift 

https://github.com/open-source-parsers JSON

http://google.github.io/flatbuffers/md__benchmarks.html 性能比较

如何选择

http://www.tuicool.com/articles/2Uruu2

http://blog.csdn.net/menggucaoyuan/article/details/34409433

原文地址:https://www.cnblogs.com/2018/p/4463412.html