Skip to main content

2 posts tagged with "idl"

View All Tags

Extend Protobuf/FlatBuffers Schema IDL with Shared/Circular Reference Support

· 5 min read
Shawn Yang
Apache Fory PMC Chair

TL;DR: If you already have .proto or .fbs schemas and you want shared/circular reference support, with the Fory compiler you can keep those schemas, add a small set of Fory options, then foryc generates idiomatic native models across Fory-supported languages, so you can serialize object graphs without manual *_id link reconstruction or rewriting your entire schema into Fory Schema.

Apache Fory™ Schema IDL: Serialization IDL for Object Graphs and Generated API Ergonomics

· 14 min read
Shawn Yang
Apache Fory PMC Chair

TL;DR: Apache Fory Schema IDL is the first cross-language serialization IDL for object graphs serialization. Define your types once in a .fdl file, and the compiler generates idiomatic domain objects for Java, Python, Go, Rust, C++, C#, Swift, and more — with shared refs, cycles, polymorphism, schema evolution, and optional types built into the schema model.