2 ms·
Java as specified is memory-safe. It cannot cause application-visible segfaults (hotspot uses segfault handlers internally for some trickery but that's not real
by the8472 9y ago
Java as specified is memory-safe. It cannot cause application-visible segfaults (hotspot uses segfault handlers internally for some trickery but that's not really relevant here).
Of course bugs in the JVM, native libraries or things like sun.misc.Unsafe might. But that's no different for rust, once you start using unsafe or use C libraries things might explode.