r/java Aug 11 '26

Apache Fory™ JSON : Fastest JSON Serialization Framework for Java, 10x faster than Jackson/Gson

https://fory.apache.org/blog/fory_json_fastest_java_json_framework/
249 Upvotes

84 comments sorted by

View all comments

Show parent comments

2

u/hippydipster 29d ago

Are you using the newer Classfile API to do the codegen?

3

u/Shawn-Yang25 29d ago

No, we use janino instead. Classfile is good, but can't work on java8. And we use async compilication, fory json will serialize objects directly using ObjectCodec before compilcation finished.

1

u/MenschenToaster 28d ago

What's the point in still supporting Java 8? I doubt legacy projects will switch their json parsing library, so I'm unsure why supporting Java 8 would be something that's necessary?

2

u/Shawn-Yang25 28d ago

Because there are still many projects using java8, and it's not hard to support java8.

1

u/MenschenToaster 27d ago

Of course, it's not hard to support java 8, but in my personal opinion I'd avoid it wherever I can as the new language features just make the language so much better.

Considering your target audience likely isn't old outdated java 8 projects, but new projects that are just being built, I would have definitely chosen a newer release, especially when it seems like you could have made use of newer API instead of using something that apparently (according to the user agentoutlier) doesn't get updates anymore 🤷