Hacker GitHub

← All repos

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

Mentions per year 35 mentions · busiest year 2025 (12)
20082026
  1. fory json source code: https://github.com/apache/fory/blob/main/java/fory-json/READ...
  2. …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
  3. 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
  4. You mean this file? https://github.com/apache/fory/blob/main/AGENTS.md
  5. …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…
  6. 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…
  7. 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
  8. …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…
  9. …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:…
  10. Is 4096 types enough for everyone? https://github.com/apache/fory/blob/fd1d53bd0fbbc5e0ce6d53ef...
  11. 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…
  12. Available since https://github.com/apache/fury/releases/tag/v0.10.0
  13. See https://github.com/apache/fury for details about Apache Fury serialization framework
  14. 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
  15. 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/...
  16. For implemetation details, https://github.com/apache/incubator-fury/blob/main/java/fury... can be taken as an example
  17. See https://github.com/alipay/fury/blob/main/docs/guide/scala_gu... for scala serialization user doc
  18. …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…
  19. …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,…
  20. …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…
  21. …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...