Hacker News new | ask | show | jobs
by d0mine 44 days ago
Parsing JSON at tens of gigabytes per second… in Python

https://lemire.me/blog/2026/10/12/parsing-json-at-tens-of-gi...

2 comments

Exception it's merely a python binding for Daniel Lemire's Simdjson which is written in C++ (which takes even more time to compile than Rust).
I was already using orjson which is pretty much a straight 50% speed up. Calling into native doesn’t really bother me as long as I don’t have to pre compile the whole thing myself.

My experience has been that rust is significantly slower to compile than C++, by the way

Nah, that is the usual mistake to call Python libraries to something that is actually implemented in a native compiled language.
It is the usual mistake to think that it does not use Python as intended (offload number crunching parts into C/C++/Fortran code eg numpy is older than many here.