Feedback on Panama from ECS engine in Java 25
Felipe Yelpo
felipeyelpo26 at gmail.com
Wed Aug 6 04:06:42 UTC 2025
Hi all,
I'm currently developing an ECS engine in Java 25, built (thanks to)
Project Panama's MemorySegment/Arena model, using the Vector API for
operations. It uses SoA chunked layouts of off-heap memory based around CPU
cache sizes detected by OSHI. No JNI at all.
Some benchmarks I just ran on an i5 11400f with 256KB chunks:
- SIMD operations over 2M entities across 2 float[4] components came to
around ~60ns per entity.
- 65.536 entities added in 16ms.
The project is private for now (just ~1 month in), but I’d be happy to
share architectural insights or isolated benchmarks.
Thanks — these APIs are game-changing, and frankly the only reason I'm able
to do this in Java.
- Felipe Yelpo
Feel free to reach out: www.linkedin.com/in/felipe-yelpo-3b547a317
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20250806/d581b176/attachment.htm>
More information about the panama-dev
mailing list