3 ms·
In our Java benchmarks, Fory is actually faster than FlatBuffers — you can try it yourself here: https://github.com/apache/fory/blob/main/java/benchmark/src/mai
by chaokunyang 1y ago
In our Java benchmarks, Fory is actually faster than FlatBuffers — you can try it yourself here:
https://github.com/apache/fory/blob/main/java/benchmark/src/main/java/org/apache/fory/benchmark/state/FlatBuffersState.java https://github.com/apache/fory/blob/main/java/benchmark/src/...
We haven’t tested FlatBuffers vs. Fory for Rust yet, but we plan to.
It’s also worth noting the focus is a bit different: FlatBuffers is great for certain constrained scenarios (e.g., games, embedded), while Fory is a more general‑purpose serialization framework with features like cross‑language object graph support, circular reference handling, and schema evolution.