Hacker GitHub

← All repos

fastserial/lite3

View on GitHub ↗ ★ 810 C

A JSON-Compatible Zero-Copy Serialization Format

15 mentions on Hacker News by 9 people: 2 stories, 13 comments · first 2025-11-20 · latest 2026-02-24

Mentions per year 15 mentions · busiest year 2025 (10)
20082026
  1. Related: lite3[1] a binary JSON like serialization format using B-trees. [1]: https://github.com/fastserial/lite3
  2. …time ago I created a JSON-compatible serialization format that is zero-copy (no parsing required): https://github.com/fastserial/lite3 It doesn't do transactions or history versioning, but it is also very fast in memory. Something like jq…
    comment by eliasdejong · 2026-02-03 · in Joedb, the Journal-Only Embedded Database
  3. …serialization is free ? For example, my format Lite³ which outperforms Google Flatbuffers by 242x: https://github.com/fastserial/lite3
    comment by eliasdejong · 2026-01-23 · in Replacing Protobuf with Rust
  4. …to exploit exactly this, and is able to outperform simdjson by 120x in some benchmarks as a result: https://github.com/fastserial/lite3
    comment by eliasdejong · 2026-01-06 · in I/O is no longer the bottleneck? (2022)
  5. Reminds me of Lite3 that was posted here not long ago: https://github.com/fastserial/lite3
    comment by eric-p7 · 2026-01-02 · in FracturedJson
  6. What are your thoughts on https://github.com/fastserial/lite3 ?
    comment by handfuloflight · 2025-12-27 · in Always bet on text (2014)
  7. …prototype Python library just to see how it could work - left you an issue comment about that here: https://github.com/fastserial/lite3/issues/6#issuecomment-36... - code is at https://github.com/simonw/lite3/tree/conformance-suite/lite3...…
  8. …it is C code, also full of warnings that other languages can protect you from) I spotted this ( https://github.com/fastserial/lite3/blob/acbb97984eca1183ddc... ): > The JSON standard requires that the root-level type always be an ‘object'…
  9. Looking at the actual code ( https://github.com/fastserial/lite3/blob/main/src/lite3.c#L2... ), it seems like it performs up to 128 probes to find a target before failing, rather than bailing immediately if a collision is detected. It…
  10. …JsonValue>`. [1]: https://github.com/rkyv/rkyv/blob/main/rkyv/src/collections/... [2]: https://github.com/fastserial/lite3/blob/main/src/lite3.c#L5... [3]: https://lite3.io/design_and_limitations.html#autotoc_md29 (see note at end of…
  11. …though now you don't need to do any parsing, since the document itself is already indexed. https://github.com/fastserial/lite3
  12. …itself is already indexed. It is called the Lite³ format. Disclaimer: I am working on this. https://github.com/fastserial/lite3
  13. Check out Lite³, a schemaless binary format: https://github.com/fastserial/lite3 Supports 64 bit ints, raw byte datatype, zero-copy parsing, does not require schema and can be converted to JSON for readability while retaining all field…
    comment by eliasdejong · 2025-12-03 · in Why I stopped using JSON for my APIs