r/coolgithubprojects • u/kral_katili • 4d ago
Yalın – a fast JSON parser for Android written in Rust
Yalın is an open-source JSON parser for Android that I've been working on.
The core is written in Rust, uses ARM NEON SIMD, and exposes a Kotlin/Java API. It also supports reading specific fields without parsing the entire JSON tree.
In my benchmarks against fastjson2, selective reads were up to 4.6x faster, while full-tree parsing on 1 MB JSON was about 1.3x faster.
Still working on improving performance with smaller payloads.
3
Upvotes
1
u/Ok-Cut5501 4d ago
I wonder what you're planning to do with your spare 60 milliseconds.
Otherwise, I have nothing against it.