←back to thread

66 points chaokunyang | 2 comments | | HN request time: 0.001s | source

Serialization framework with some interesting numbers: 10-20x faster on nested objects than json/protobuf.

  Technical approach: compile-time codegen (no reflection), compact binary protocol with meta-packing, little-endian layout optimized for modern CPUs.

  Unique features that other fast serializers don't have:
  - Cross-language without IDL files (Rust ↔ Python/Java/Go)
  - Trait object serialization (Box<dyn Trait>)
  - Automatic circular reference handling
  - Schema evolution without coordination

  Happy to discuss design trade-offs.

  Benchmarks: https://fory.apache.org/docs/benchmarks/rust
Show context
binary132 ◴[] No.45740473[source]
The prevalence of AI slop in the landing page doc does not inspire confidence.
replies(1): >>45742980 #
1. chaokunyang ◴[] No.45742980[source]
The https://github.com/apache/fory/blob/main/AGENTS.md is a very detailed document only for AI coding, but an excelent reference for development. But you are right, it may introduce concerns, let me remove it from landing pages
replies(1): >>45751515 #
2. binary132 ◴[] No.45751515[source]
That’s not what I meant, I mean it is obvious from many phrases on the landing page that they were written with AI