Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's Peter's HugeCollections repo[1].

I expected to see some native code being called via JNI, but it's all done in Java.

[1] https://github.com/peter-lawrey/HugeCollections



Well, the native code is replaced by the use of sun.misc.Unsafe to do the off heap allocation and access (look in io & storage classes in https://github.com/OpenHFT/Java-Lang/tree/master/lang/src/ma... ).

I wonder what this sort of library will look like when Panama is done, assuming it provides the sort of structured off heap storage support I'm hoping for.


Looks like this is the repo with more recent activity .. https://github.com/OpenHFT/HugeCollections




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: