Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Apache Fory Rust – Polyglot serialization with trait objects and circular refs (apache.org)
5 points by chaokunyang 54 days ago | hide | past | favorite | 1 comment


Apache Fory is a serialization framework that works across languages without schema files. We just released the Rust implementation (v0.13) with some features we haven't seen elsewhere:

  1. Serialize Box/Rc/Arc<dyn Trait> and preserve polymorphism on deserialization
  2. Automatic circular reference handling (parent-child trees, graphs)
  3. Reference identity preservation (Rc/Arc pointer equality maintained)
  4. Cross-language compatibility (Rust ↔ Python/Java) with no IDL
  5. Schema evolution without breaking changes
  6. 10-20x faster serialization than JSON/Protobuf




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: