suggestion for fast I/O and serialization for non-POD? I have some data in the form of sets of pairs, which I'm writing and reading with JSON file. But JSON is probably not the fastest considering that I don't need the file to be human-readable. Any suggestions?
As already mentioned, with protobuff you write out the data you want in essentially a dsl, the .proto file. Then c++ code that let's you read/write and serialize/deserialize the data is generated