News for hackers. Stuff that matters.
Re:Show HN: DAW JSON Link by techie2022 on Saturday August 13, 2022 @06:51PM (#32454567)
How does it compare to the immensely popular JSON for Modern C++ library by nlohmann? https://github.com/nlohmann/json

Also, you should add your library to the JSON benchmarks here: https://github.com/miloyip/nativejson-benchmark#parsing-time

Re:Show HN: DAW JSON Link by beached_whale on Sunday August 14, 2022 @04:38PM (#32462733)
Performance, generally much faster. But they are approaching the problem from different perspectives. Nlohmann focuses on an owning dom like value, JSON Link focuses on parsing into user data structures, but has the ability to mix with a non owning pull parser when if makes sense.

I haven’t added it to that bench but it does it in about 4ms for the 3 files