apache/fory
View on GitHub ↗ ★ 4,578 Java
A blazingly fast multi-language serialization framework for idiomatic domain objects, schema IDL, and cross-language data exchange.
35 mentions on Hacker News by 4 people: 14 stories, 21 comments · first 2023-07-28 · latest 2026-08-12
20082026
-
fory json source code: https://github.com/apache/fory/blob/main/java/fory-json/READ...
comment by chaokunyang · 2026-08-12 · in Apache Fory JSON: Fastest Java JSON Serialization, 10x Faster Than Jackson/Gson -
…manual *_id link reconstruction or rewriting your entire schema into Fory Schema. 1. GitHub: https://github.com/apache/fory 2. Compiler docs: https://fory.apache.org/docs/compiler
comment by chaokunyang · 2026-03-11 · in Extend Protobuf/FlatBuffers Schema IDL with Shared/Circular Reference Support -
1. Docs https://fory.apache.org/docs/compiler 2. GitHub https://github.com/apache/fory 3. Benchmarks https://github.com/apache/fory/tree/main/docs/benchmarks
comment by chaokunyang · 2026-03-11 · in Show HN: First IDL for Object-Graph Serialization (Apache Fory IDL) -
You mean this file? https://github.com/apache/fory/blob/main/AGENTS.md
comment by chaokunyang · 2025-10-30 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
…type to expect if it was built with the IDL file version that defined it, e.g., this recent issue: https://github.com/apache/fory/issues/2818 But now I do see that the 4096 is just arbitrary: If schema consistent mode is enabled globally…
comment by no_circuit · 2025-10-29 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
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/... We haven’t tested FlatBuffers vs. Fory for Rust yet, but we plan to. It’s also…
comment by chaokunyang · 2025-10-29 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
The https://github.com/apache/fory/blob/main/AGENTS.md is a very detailed document only for AI coding, but an excelent reference for development. But you are right, it may introduce concerns, let me remove it from landing pages
comment by chaokunyang · 2025-10-29 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
…for pickle/cloudpickle, you can use it to serialize code object such as local function/Classes too. https://github.com/apache/fory/tree/main/python#serialize-lo... When serializing code objects, pyfory is 3× higher compression ratio…
comment by chaokunyang · 2025-10-29 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
…code at all. Note also that Fory has some writer pool that is utilized during the tests: https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef... Original bench selection for Fory: Benchmarking ecommerce_data/fory_serialize/medium:…
comment by no_circuit · 2025-10-29 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
Is 4096 types enough for everyone? https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...
comment by no_circuit · 2025-10-28 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
Are the benchmarks actually fair? See: https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef... It seems if the serialization object is not a "Fory" struct, then it is forced to go through to/from conversion as part of the measured…
comment by no_circuit · 2025-10-28 · in Show HN: Apache Fory Rust – 10-20x faster serialization than JSON/Protobuf -
Available since https://github.com/apache/fury/releases/tag/v0.10.0
comment by chaokunyang · 2025-02-21 · in 2X compression ratio: Chunk based dynamic map serialization -
See https://github.com/apache/fury for details about Apache Fury serialization framework
comment by chaokunyang · 2024-11-11 · in Show HN: Quarkus Fury – Fast native serialization by codegen built on Fury -
Hi, Please add https://github.com/apache/fury to the benchmark. It claims to be a drop-in replacement for the built-in serialization mechanism so it should be easy to try.
comment by cowwoc · 2024-09-22 · in The sorry state of Java deserialization -
The code are located at: 1. https://github.com/apache/fury/blob/main/java/fury-core/src/... 2. https://github.com/apache/fury/blob/main/java/fury-core/src/...
comment by chaokunyang · 2024-07-24 · in Apache Fury 0.6.0 Released: 6x faster and 1/2 payload smaller than protobuf -
For implemetation details, https://github.com/apache/incubator-fury/blob/main/java/fury... can be taken as an example
comment by chaokunyang · 2024-05-07 · in Meta String: A more space-efficient string encoding than UTF-8 in Fury -
See https://github.com/alipay/fury/blob/main/docs/guide/scala_gu... for scala serialization user doc
comment by chaokunyang · 2023-11-04 · in Fury Scala: Fast binary serialization framework by JIT for any Scala 2/3 objects -
…serialization framework powered by jit and zero-copy. We just released 0.3.0 version: https://github.com/alipay/fury/releases/tag/v0.3.0 With this new release, we supported scala too. Now fury can support all scala2/3 objects serialization…
comment by chaokunyang · 2023-11-03 · in Fury Scala: Fast binary serialization framework by JIT for any Scala 2/3 objects -
…for some `constructor/getters`. I implements some Function utils to generate lambda function, see https://github.com/alipay/fury/blob/main/java/fury-core/src/... I'm not sure whether `MethodHandle` can generate the most complicated code,…
comment by chaokunyang · 2023-10-09 · in Fury – Fast multi-language serialization framework powered by JIT and Zero-copy -
…game developers. And there has always been a demand within the community for FURY to support C#: https://github.com/alipay/fury/issues/686 . I don't have experience for c#, so it's not supported. Hope c# can be supported with the help of…
comment by chaokunyang · 2023-10-08 · in Fury – Fast multi-language serialization framework powered by JIT and Zero-copy -
…objects to binary. Fury also defined a row format which is similar to arrow binary format: https://github.com/alipay/fury/blob/main/docs/guide/row_form...
comment by chaokunyang · 2023-07-28 · in Fury: a fast multi-language serialization framework