|
|
|
|
|
by dom96
3 days ago
|
|
> The thing is, programs that can be also written in GC powered languages, often don't need unsafe at all That's true, though it's worth noting that they do still need unsafe for the FFI. Often this is where the memory safety issues arise in GC languages. So no language is truly "memory safe". |
|
Execution is only allowed after the OS admin adds the executable to a specific process white list.
This is similar to how some managed runtimes work, and the Java ecosystem is moving forwards it.
Currently it only triggers a warning, however in the future JNI and Panama will be disabled by default, and like with ClearPath MCP, it is up to the person installing the application to enable the unsafe layer explicitly.
Another example is the capabilities approach on WASM runtimes, here again the one executing the platform takes ownership on enabling unsafe behaviours.