logoalt Hacker News

throwaway2037yesterday at 2:41 PM1 replyview on HN

    > 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.

Replies

pronyesterday at 9:20 PM

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