r/learnjava • u/fishybusinessdev • 2d ago
Building a custom Java data structure library for my game, would like feedback.
I recently released JArray, a Java data structure library I've been working on.
The goal was to build something that combines dynamic sizing, specialized primitive storage, mixed data types, and multidimensional array functionality because I thought it might help me with my game-development, things like inventory, maps, and parsing save files.
it currently uses a whole bunch of primitive arrays, and metadata array to hold values. but i don't know if its better to use a single object array.
I'd appreciate feedback on the API design, storage architecture, and features that would make the library more useful, also any questions about the library.
here's the GitHub to the project. hopefully it doesn't get flagged as promotion: https://github.com/AJ-1-code/JArray