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.
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.