News for hackers. Stuff that matters.
Re:Show HN: Apache Fory Rust – 10-20x faster serialization t... by seg_lol on Tuesday October 28, 2025 @03:57PM (#45738254)
Why this over serialization free formats like CapnProto and Flatbuffers? If you want it to be compact, send it through zstd (with a custom dictionary).

I do really like that is broad support out of the box and looks easy to use.

For Python I still prefer using dill since it handles code objects.

https://github.com/uqfoundation/dill

Re:Show HN: Apache Fory Rust – 10-20x faster serialization t... by chaokunyang on Tuesday October 28, 2025 @10:38PM (#45742003)
Apache Fory is also a drop-in replacement 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 compared cloudpickle

And pyfory also provide extra security audit capability to avoid maliciously deserialization data attack.

Re:Show HN: Apache Fory Rust – 10-20x faster serialization t... by chaokunyang on Friday October 31, 2025 @01:28AM (#45768704)
I also did a benchmark with dill, it shows that: fory is 20~40X faster and up to 7x higher compression ratio compared to dill. I don't dive into dill to see how it works. Here is my benchmark code:

https://github.com/chaokunyang/python_benchmarks