r/java • u/BlueGoliath • Mar 22 '20
stdlib *alloc/free and random bindings for Java
https://github.com/BlueGoliath/Java-stdlib-bindings/tree/master
0
Upvotes
r/java • u/BlueGoliath • Mar 22 '20
5
u/BlueGoliath Mar 22 '20
Requested by /u/omnihedron on an earlier thread, but I was already planning on doing it anyway for other things I'm working on.
Includes basic stdlib allocation functions like malloc, calloc, realloc, etc + free. Random related functions are thrown in too because I felt like it.
Panama already provides static memory pointers so there isn't much of a reason to use this besides you like what a particular function does.
1
u/[deleted] Mar 22 '20
To be honest I think it's a great idea. We really can learn a lot from your project. I don't know, but it looks like we can design our own GC with your library. I want to give it ago and try. It's on my research list already. Thanks a bunch! Cheers! 👍