News for hackers. Stuff that matters.
Re:Testing the memory safe Rust implementation of Sudo/Su by xxs on Wednesday June 28, 2023 @11:10AM (#36507605)
I think java is way more readable (and safe) than C - we should all switch to. Proof by authority w/o any background is not useful
Re:Testing the memory safe Rust implementation of Sudo/Su by cryptonector on Wednesday June 28, 2023 @11:52AM (#36508284)
Solaris had a bit of Java in it, and it was a terrible fit on account of how slow the JVM startup was and how large its memory footprint. Now that was almost 20 years ago and by now there's ways to optimize the JVM for short-lived processes, but it's still a pain and it's still a huge installation just for a small program like `sudo`. No, something like `sudo` needs to be natively compiled, or if bytecompiled then to a tiny VM -- tiny in every way: tiny opcode set, tiny bytecode interpreter, tiny install size.
Re:Testing the memory safe Rust implementation of Sudo/Su by shrimp_emoji on Wednesday June 28, 2023 @12:43PM (#36509035)
You're not wrong, yet I'd sooner kill myself.