Hacker News new | ask | show | jobs
by lamontcg 1140 days ago
Why would sudo/su need a lot of tricky unsafe code?
1 comments

Using grep, it looks like they mostly use unsafe code to interface with existing C libraries. In those cases it's roughly as tricky as writing C in the first place IMO, so still probably a net win.
So over time we can trim this down as more C libraries are upgraded to Rust.