logoalt Hacker News

chirayuktoday at 2:26 AM0 repliesview on HN

Fun comments for re-writing sudo in Zig:

> Zig doesn't have traits. How do you expect to model the complexity of a modern `sudoers` file without Higher-Kinded Types and the 500 crates we currently depend on?

> Also, `unsafe` in Rust is better than "trust me bro" in Zig. If you switch, the borrow checker gods will be angry.

from https://sw.vtom.net/hn35/pages/90100066.html