C++ Serde

Open-source C++ projects categorized as Serde

C++ Serde Projects

  • json-benchmark

    nativejson-benchmark in Rust

  • Project mention: Do You Know How Much Your Computer Can Do in a Second? | news.ycombinator.com | 2023-06-22

    I don’t really understand what this is trying to prove:

    - you don’t seem to specify the size of the input. This is the most important omission

    - you are constructing an optimised representation (in this case, strict with fields in the right places) instead of a generic ‘dumb’ representation that is more like a tree of python dicts

    - rust is not a ‘moderately fast language’ imo (though this is not a very important point. It’s more about how optimised the parser is, and I suspect that serde_json is written in an optimised way, but I didn’t look very hard).

    I found[1], which gives serde_json to a dom 300-400MB/s on a somewhat old laptop cpu. A simpler implementation runs at 100-200, a very optimised implementation gets 400-800. But I don’t think this does that much to confirm what I said in the comment you replied to. The numbers for simd json are a bit lower than I expected (maybe due to the ‘dom’ part). I think my 50MB/a number was probably a bit off but maybe the python implementation converts json to some C object and then converts that C object to python objects. That might half your throughput (my guess is that this is what the ‘strict parse’ case for rustc_serialise is roughly doing).

    [1] https://github.com/serde-rs/json-benchmark

  • easy_reflection_cpp

    Reflection brings the best way to serialize/deserialize json and yaml in C++

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Serde related posts

Index

Project Stars
1 json-benchmark 168
2 easy_reflection_cpp 88

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com