Introducing Apache Fory™ Rust: A Versatile Serialization Framework with trait objects, shared refs and schema evolution support

113 points Shawn-Yang25 23 comments
  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