News for hackers. Stuff that matters.
Re:PyPy's New JSON Parser by mhd on Tuesday October 08, 2019 @10:42AM (#21192829)
From the Perl side, there's been an interesting talk by Graham TerMarsch[1] where he tried quite a few of the allegedly fastest JSON parsers and compared them to the standard solution (JSON::XS). Apparently a lot got lost "in translation", when converting the C/C++ data.

[1]: https://www.youtube.com/watch?v=BToZ_E3vU0Y

Re:PyPy's New JSON Parser by rurban on Wednesday October 09, 2019 @02:57AM (#21200756)
Interesting comparison of most fast json parsers. Just https://github.com/lemire/simdjson is missing. Purple beating RapidJSON.

The standard is btw. my Cpanel::JSON::XS and he didn't compare with cperl which would be much faster and more secure. And he misinterpreted why glibc made a big difference. - march=native got better, not malloc.

Re:PyPy's New JSON Parser by fnord123 on Wednesday October 09, 2019 @10:05AM (#21203365)
I would like a json-game like csv-game[0] that benchmarks all of these together. Here is an example with a /lot/ of C++ parsers:

https://github.com/miloyip/nativejson-benchmark

[0] https://github.com/miloyip/nativejson-benchmark