Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lamontcg
on April 29, 2023
|
parent
|
context
|
favorite
| on:
sudo and su Being Rewritten in Rust for Memory Saf...
Why would sudo/su need a lot of tricky unsafe code?
AnIrishDuck
on April 29, 2023
[–]
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.
Gigachad
on April 30, 2023
|
parent
[–]
So over time we can trim this down as more C libraries are upgraded to Rust.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: