3 ms·
>Huh? "Morally" here is just shorthand for "practically, as a rule of thumb, for most intents and purposes" There was an era when any rust code that use Unsafe
by ksec 5y ago
>Huh? "Morally" here is just shorthand for "practically, as a rule of thumb, for most intents and purposes"
There was an era when any rust code that use Unsafe is considered "morally wrong" regardless of whatever technical reasons or personal preference.
- zozbot234 5y agoThe brouhaha about Rust Unsafe was about code that used it where it was not needed (because you could write safe code that would optimize to the same thing), or used it incorrectly (not marking code that was only conditionally "safe", thus exporting unsafety to "safe" code potentially across Rust modularity boundaries.) And the actual issues got resolved rather quickly.