{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreicpekmohw4iafgvuguha4j7zofhcwyczr5yrkzdyijqte6elrle5u",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mltldiq7lbj2"
},
"path": "/t/is-it-possible-to-define-various-level-for-safety/24299#post_3",
"publishedAt": "2026-05-14T18:31:33.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Basically no. To a _language_ , saving your password in a password manager looks exactly the same as leaking it to a pastebin.\n\nThe reason `unsafe` is such a critical difference is that UB means _you can't trust what you see_. If you get it wrong and hit UB, you might have logging that \"shouldn't\" have happened, might be missing logging that \"should\" have happened, might be running code under conditions that you \"checked\" etc.\n\nSo long as you avoid UB, you can have telemetry, you can do code analysis, etc.",
"title": "Is it possible to define various level for safety?"
}