← Back to context

Comment by pjmlp

2 days ago

Which is why in some OS written in memory safe systems languages, like Burroughs, still being sold by Unisys as ClearPath MCP, any use of unsafe code blocks taints the binary.

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.