Hacker News new | ask | show | jobs
by hiccuphippo 620 days ago
I really wish they called it unchecked instead of unsafe, it would have cleared lots of misconceptions about it.

Still, I think rust is safer than zig (ReleaseSafe) is safer than zig (ReleaseFast) is equally safe as unchecked rust.

1 comments

IMO "unchecked" is liable to cause the same sort of confusion; Rust is still performing all the usual checks, but we the programmer just introducing new things that must be manually upheld. I've come around to the notion that the keyword for the block should be `promise` (though 10 years ago this might have caused confusion with Javascript programmers), whereas the keyword for the function should remain as `unsafe`.
I like something such as “trusted”, but maybe that gives the wrong impression to newbies.
Maybe "unleashed" to connote a potentially dangerous power is loose.