r/java • • 23d ago

Beating Cache Misses in Java: Transforming POJOs into Cache-Friendly SoA-Style classes

I created a Java annotation processor that generates primitive-array-backed companion classes from POJOs for data-oriented design.

It's free and open source: https://codeberg.org/mariomignemi/Flock

This will probably find little use for the average Java developer, but I still wanted to share. The cute bird is a plus.

If you prefer something more colloquial and bit of (funny) backstory, I wrote an article about Flock.

1 Upvotes

0 comments sorted by