Hacker News new | ask | show | jobs
by xxs 1093 days ago
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
2 comments

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.
You're not wrong, yet I'd sooner kill myself.