{"by":"chaokunyang","descendants":59,"id":45736400,"kids":[45738849,45738851,45738270,45737888,45738254,45738017,45738942,45738630,45738982,45737745,45738562,45738298,45748800,45741579,45737662,45757973,45737672,45737372,45740473],"score":67,"text":"Serialization framework with some interesting numbers: 10-20x faster on nested objects than json&#x2F;protobuf.<p><pre><code>  Technical approach: compile-time codegen (no reflection), compact binary protocol with meta-packing, little-endian layout optimized for modern CPUs.\n\n  Unique features that other fast serializers don&#x27;t have:\n  - Cross-language without IDL files (Rust ↔ Python&#x2F;Java&#x2F;Go)\n  - Trait object serialization (Box&lt;dyn Trait&gt;)\n  - Automatic circular reference handling\n  - Schema evolution without coordination\n\n  Happy to discuss design trade-offs.\n\n  Benchmarks: https:&#x2F;&#x2F;fory.apache.org&#x2F;docs&#x2F;benchmarks&#x2F;rust</code></pre>","time":1761674331,"title":"Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf","type":"story","url":"https://fory.apache.org/blog/2025/10/29/fory_rust_versatile_serialization_framework/"}