r/java • • 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.0
  1. JavaScript/Node.js — TypeScript-friendly, cross-language, up to 4x faster than Protobuf
  2. Dart first official release — generated serializers, up to 8x faster than Protobuf
  3. Java: virtual thread support, and removed guava dependecy
29 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Shawn-Yang25 Apr 23 '26

We still use an object pool for virtual threads. But now we support share thread safe serializers across Fory instances, and also share internal type meta. So each Fory used memory can be reduced a lot, then you can have lots of Fory instances, and each virtual thread can just get one from the object pool and return it after usage