3 ms·
Check out Ilya Yaroshenko’s Ion library for D, part of the larger ‘mir’ library: http://mir-ion.libmir.org/ http://mir-ion.libmir.org/ https://github.com/libm
by chromatin 5y ago
Check out Ilya Yaroshenko’s Ion library for D, part of the larger ‘mir’ library:
http://mir-ion.libmir.org/ http://mir-ion.libmir.org/
https://github.com/libmir/mir-ion https://github.com/libmir/mir-ion
- hatf0 5y agoWeird to see the library I work on show up in HN —- Mir Ion is a pretty complicated library (and admittedly our documentation needs work — I’m working on that!), but I’m very proud of our work. Some fun things about Mir Ion: - We can fully deserialize Ion at compile-time (via D’s CTFE functionality) - We’re one of the fastest JSON parsing libraries (and one of the most memory efficient too — we actually store all JSON data in memory as Ion data, which is vastly more efficient) - We’re nearly 100% compliant to all of the upstream test cases (our main issue is that we’re often too lax on spec, and allow files that are invalid through) - The entire library is (nearly) all `@nogc`, thanks to the Mir standard library If anyone has any questions on Mir Ion, feel free to shoot me a line at harrison (at) 0xcc.pw