News for hackers. Stuff that matters.
Re:JSON for Modern C++ by dguest on Sunday September 29, 2019 @07:37AM (#21106457)
On the other hand: I'm a bit surprised at how many people are writing JSON and care about the performance.

The overwhelming majority of our IO is reading / writing data files, but those are stored in an optimized binary format. The configuration / metadata accounts for a much smaller fraction of IO. For this tiny fraction we care about flexibility and readability, a slow JSON parser is fine.

Re:JSON for Modern C++ by human20190310 on Sunday September 29, 2019 @11:37AM (#21107631)
While I agree that in many cases JSON parsing is not the largest consumer of resources, it really sucks when it is.

At some point it seems like a general mindset shifted from making things efficient at every level to assuming things don’t matter if you’re probably doing something worse anyway.