3 ms·
Rust is absolutely wonderful for tasks like this. They don't hit any of the cases where Rust's ownership can make things tricky. And the serde library makes des
by nicoburns 8y ago
Rust is absolutely wonderful for tasks like this. They don't hit any of the cases where Rust's ownership can make things tricky. And the serde library makes deserializing JSON a piece of cake.
You end up with code which looks pretty similar to the equivalent JavaScript or Python code, but performs much faster (10x, 100x or even 1000x faster).
- nicoburns 8y agoThere's also pikkr (https://github.com/pikkr/pikkr https://github.com/pikkr/pikkr) if you need really really fast JSON parsing.