3 ms·
Criticising a systems programming language for needing to manually manage memory is honestly embarrassing.
by hyperbrainer 2y ago
Criticising a systems programming language for needing to manually manage memory is honestly embarrassing.
- IgorPartola 2y agoI mean to be fair so is using a systems programming language for every use case under the sun. If Rust is a great systems programming language that’s one thing. If it’s a general purpose language that’s another.
- hyperbrainer 2y agoThe two are not mutually exclusive. Also, I don't think I have ever needed to actively think about memory management more than .clone() and static for any hobby project I have undertaken. All the ML-like features like sum types, pattern matching etc. add great value. Cargo too. So, it is a great general purpose programming language. But blaming it as too low-level or similar despite choosing it is obtuse at best.
- keybored 2y agoA lot of git(1) subcommands were originally written in shell or Perl. Now most are written in C. Through many decades people wrote utilities and applications in C. Not hardcore lower-level kernel modules. Just utilities and applications. Because that’s what they wanted to write them in. Over Perl or Java or whatever else the alternatives were. What’s more C than that? Writing everything short of scripts in it? Now people write applications in a modern programming language with modern affordances. They might be working uphill to a degree but they could have chosen much less ergonomic options. The embarrassing part is criticizing people who have put in the work, not on the merits of their work, but on… having put in too much work.