since 2 months, 2 weeks ago
23 of 23
Tip Reveddit Real-Time can notify you when your content is removed.
your account history
Tip Check if your account has any removed comments.
view my removed comments you are viewing a single comment's thread.
view all comments


Why are we rewriting everything remind me?
Rust has literal empirical benefits of C and C++.
Clearly you have never read a Phoronix comment section.
It started because people were doing it for fun, there wasn't really any grand plan.
Because you weren’t maintaining it harder
Because the coreutils are too stable and battle-tested, we need more bugs! /s
Plus, Canonical loves fucking Ubuntu up. See mir, unity, snap, ubuntu-pro in terminal, etc.
Possible unkown safety problems rust addresses by default.
Rust is not faster than c, it’s safer, enforces proper ownership and sets some mechanisms that are less error prone for threading and shared memory.
IMO, these errors come from lack of proper testing and coverage checks. I’ve worked in places and libraries where we required 100% coverage (branch and loc). That helped with a better and more maintainable design, avoiding things like hidden functionality behind globals and making everything injectable.
Once thing that happens a lot is deadlines, trust on people that tend to deliver good PRs.
I don’t think this is a big deal, just a way to improve the process and get better mechanisms to improve the migration.
Rust and C are about as fast as each other as is the same with other related languages like Zig and C++. If you're noticing a difference between C and Rust it's likely due to GCC vs LLVM.
100% coverage?! You must be lying to me or most of that test code is crap. Prove me wrong. 🤣
This tells more about you than me 🤷♂️
🤣 People who say their code base has 100% test coverage are lying (or padding with useless tests to pretend that they have 100% coverage). Sure you do you, man.
Rust can be faster than C
Correct, not sure what your point is
Because Rust is newer and sexier than the C the GNU coreutils mostly use.
Personally I'm holding out for AI-enhanced
ls.Because it's fun, you killjoy
Rust is not fun. At all.
It is by far the most pleasant programming language I’ve ever used, and I’ve used a lot of them. Skill issue?
outside of cultural changes and supposed memory safety benefits - Rust makes performance enhancements much easier than C, like allowing you to trivially multithread stuff without worrying about data races. This already helped some of the uutils reimplementations, such as (iirc) grep and sort
Is it worth it? No idea. Should it be done? Why not!
Virtue signaling. That's the only true reason.