3 ms·
> the JVM checks at runtime for overflows It doesn't. Overflows wrap around in Java. > dangling pointers Only to managed memory. You may still allocate somet
by pkolaczk 4y ago
> the JVM checks at runtime for overflows
It doesn't. Overflows wrap around in Java.
> dangling pointers
Only to managed memory. You may still allocate something through Unsafe and you're on your own, just as in Rust. And some popular Java libraries do use Unsafe / FFI under the hood.