3 ms·
There are Java APIs that give access to raw memory. It's one of the infamous, largely undocumented sun.misc-stuff though. There are libaries that used it to imp
by samus 8y ago
There are Java APIs that give access to raw memory. It's one of the infamous, largely undocumented sun.misc-stuff though. There are libaries that used it to implement efficient off-heap data structures. Because of modularization its future looks grim though. After all, Java was not designed with having an unsafe subset of language constructs like Rust has. It would degenerate to C++ in terms of safety.