Our great sponsors
-
I have another format for you, although probably no one but me has implemented it yet. https://github.com/ttauri-project/ttauri/blob/main/docs/BON8.md
-
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
For something like JSON I would recommend, I am biased :), DAW JSON Link. It will let you declaratively map your data structures and give great performance. The mappings are not intrusive, so the code can site in it’s own TU and out of the way until you need to serialize/deserialize. It will parse directly to your DS without an intermediary.
-
cpp-serializers
Benchmark comparing various data serialization libraries (thrift, protobuf etc.) for C++
The optimizer can make boost::serialization run at the top speed with binary encoding while sacrificing portability. Here is a benchmark with it being twice as fast as ProtoBuf: https://github.com/thekvs/cpp-serializers. Do you have any benchmarks showing otherwise? I did my own tests about 2-3 years ago.
-
You could use nlohmann/json for this which allows a simple mechanism to serialize/deserialize arbitrary types. If JSON is too verbose of a format, the library also supports binary formats such as CBOR, MessagePack, UBJSON or BSON.
-
-
They are in this repo: https://github.com/nlohmann/json_test_data
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.