News for hackers. Stuff that matters.
Re:sudo and su Being Rewritten in Rust for Memory Safety by lamontcg on Saturday April 29, 2023 @04:18PM (#35756741)
Why would sudo/su need a lot of tricky unsafe code?
Re:sudo and su Being Rewritten in Rust for Memory Safety by AnIrishDuck on Saturday April 29, 2023 @05:31PM (#35757408)
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.
Re:sudo and su Being Rewritten in Rust for Memory Safety by Gigachad on Sunday April 30, 2023 @12:20AM (#35759662)
So over time we can trim this down as more C libraries are upgraded to Rust.