Hacker News new | ask | show | jobs
by throwaway2037 1 day ago

    > Java lets you do many things programs may want to do in a memory-safe way but not everything.
Can you give an example of Java lets you do that is not memory-safe? Honestly, I don't really count the crazy off-heap tricks that some people use. It's almost like writing a Python library in pure C, intead of Python, then complaining that Python allows you to do non-memory-safe things.
1 comments

With FFM you can do unsafe things, such as call native code and directly manipulate memory read from or written to by native code.