Parsing JSON at tens of gigabytes per second… in Python

10 points by raymii


colonelpanic

I am begging Python bloggers to understand what FFI is. You're not doing it in Python, you're doing it in C++ with a Python interface.

zimpenfish

So, can you parse JSON at tens of gigabytes per second in Python?

I dunno, it's a bit disingenuous to say yes to that when the actual hard work of parsing is done by simdjson.

"Can you parse JSON at tens of gigabytes per second if you use a library that can parse JSON at tens of gigabytes per second?" is a much less clickbaity title, I'll concede.

Student

Fun fact for the haters: Daniel lemire is one of the original authors of simdjson

nrposner

Very nice. I also continue to be impressed how much performance msgspec gets as well.