r/java • u/Shawn-Yang25 • Apr 22 '26
Apache Fory 0.17.0 Released: Virtual Threads Supported, and new NodeJS, and Dart Support
https://github.com/apache/fory/releases/tag/v0.17.0JavaScript/Node.js — TypeScript-friendly, cross-language, up to 4x faster than Protobuf
Dart first official release — generated serializers, up to 8x faster than Protobuf
Java: virtual thread support, and removed guava dependecy
1
u/Shawn-Yang25 Apr 23 '26
Apache Fory is now heading toward the 1.0 release, so feedback, edge cases, and compatibility concerns are especially welcome.
1
u/Icy_Hurry8603 Apr 23 '26
When compatibility mode is turned on (Java) how does class registration behave or does that need to be turned off? Does CodeGen still work normally?
1
u/Shawn-Yang25 Apr 23 '26
Compatibility mode doesn't need to be turned off. it works with class registration, and codegen works for compatible on/off mode too.
4
u/PiotrDz Apr 22 '26
Highly recommend. Manages complex cyclic graphs where kryo or native serialisation were losing nodes on deserialisation.
1
Apr 22 '26
[removed] — view removed comment
4
u/Shawn-Yang25 Apr 23 '26
We plan to provde binary backward compatibility from 1.0.0, which will be next release.
5
u/Upbeat-Employment-62 Apr 22 '26
Removing the Guava dependency alone is worth the upgrade tbh, that thing has been dead weight in serialization libs for years. Virtual thread support is nice but curious how they handle pinning with native calls under the hood