Hacker News new | ask | show | jobs
by anonymoushn 923 days ago
A lot of shops do this in Java. Rust and Zig are usable but nobody's going to switch.
1 comments

>A lot of shops do this in Java

Absolutely not in the memory-safe subset of Java though.

What is the memory-safe subset of Java? Java is memory safe by definition. Sadly, the definition might not give people what they want, which is bug-free code.
If you use sun.misc.Unsafe you've left the memory-safe subset.
Thanks. I had no idea that existed.
Haha, it's rough when you don't even get arrays of structs!