News for hackers. Stuff that matters.
Re:Java’s new garbage collector promises low pause times on ... by jakewins on Thursday August 30, 2018 @07:46PM (#17881813)
You can allocate a block of memory with `ByteBuffer.allocate()` or, if you want it outside the JVM heap, `ByteBuffer.allocateDirect()`.

You lose all the object/memory management features, though there are some projects around to provide struct-like APIs: https://github.com/alaisi/nalloc

There are no comments on this comment yet.