5
submitted 3 months ago by mesamunefire@lemmy.world to c/linux@lemmy.world
top 32 comments
sorted by: hot top controversial new old
[-] DioEgizio@lemm.ee 2 points 3 months ago

Wait is this their way to break compatibility with old binaries so that you're forced to use snap?

[-] HappyFrog@lemmy.blahaj.zone 2 points 3 months ago

They're steadily climbing the test suit:

test coverage

[-] vala@lemmy.world 2 points 3 months ago

Literally why? Not even criticizing rust but the GNU core utils are easily some of the most reliable and documented software tools ever written.

Not to mention, looks like the rust core utils are MIT and not GPL.

[-] sik0fewl@lemmy.ca 2 points 3 months ago

I can finally stop calling it GNU/Linux.

[-] InnerScientist@lemmy.world 0 points 3 months ago
[-] gamermanh@lemmy.dbzer0.com -1 points 3 months ago

Oh good God, Linux is finally old enough to start rusting?! And on BOTH ENDS?

vigorously shakes can of WD-40

[-] GolfNovemberUniform@infosec.pub 1 points 3 months ago

That's extremely unexpected.

[-] bjoern_tantau@swg-empire.de 1 points 3 months ago

The GNU utils weren't written by Canonical so they were doomed from the start.

[-] avidamoeba@lemmy.ca 2 points 3 months ago

Not to worry, they'll ship 'em via snap.

[-] InnerScientist@lemmy.world 1 points 3 months ago

Straight to jail.

[-] sunzu2@thebrainbin.org 0 points 3 months ago
[-] GolfNovemberUniform@infosec.pub 0 points 3 months ago

Because why? I can expect a very niche distro like Cachy do it but not a big project with a serious market share.

[-] tehfishman@lemmy.world 1 points 3 months ago

Canonical has a long history of doing wacky shit that nobody asked for though. Unity, upstart, snap, probably other things that I'm not thinking of

[-] pglpm@lemmy.ca 1 points 3 months ago

What about licences and FOSS?

[-] fum@lemmy.world 1 points 3 months ago

According to the video it's MIT licence, and they discuss the risk of such a licence vs coreutils usage of the GPL

[-] pglpm@lemmy.ca 1 points 3 months ago

This worries me indeed.

[-] mathic@lemmy.world 1 points 3 months ago

Ubuntu continues to show that it's the absolute worst.

[-] Mouette@jlai.lu 0 points 3 months ago

Is there any actual benefit ?

[-] UnityDevice@lemmy.zip 1 points 3 months ago

Well the rust project is MIT licensed, so definitely not.

[-] BrilliantantTurd4361@sh.itjust.works -1 points 3 months ago

I thought MIT licensing was a good thing?? What am i missing??

[-] UnityDevice@lemmy.zip 1 points 3 months ago* (last edited 3 months ago)

The success of FOSS can in large part be attributed to copyleft licenses like the GPL. Without the protections of copyleft clauses, software just gets exploited by large corporations and end users are locked out. For just one example, if GNU software had used MIT, the entire free router movement (i.e ddwrt, openwrt and co.) would probably not exist today.

See: Free Software Foundation, Inc. v. Cisco Systems, Inc..

Edit: actually, I think by the time of this specific lawsuit, the sources for wrt54g were already released after community pressure, this article details the history a bit better.

[-] Hawk@lemmynsfw.com 0 points 3 months ago

In large part it's a matter of opinions and different perspectives. A common consensus is libraries should be MIT and entire applications should be GPL. However, this is not held by all community members.

Overall, Rust is easier to read and harder to fuck up, so there's one argument in favour if it, in terms of community engagement. For an example of this, compare ls.c by Apple, GNU, FreeBSd and OpenBSD.

On the other hand, I should imagine most people simply install ripgrep and fd anyway.

[-] GolfNovemberUniform@infosec.pub 0 points 3 months ago* (last edited 3 months ago)

Just security and hype afaik.

[-] asdfasdfasdf@lemmy.world -1 points 3 months ago

No, it isn't just hype. The hype is justified.

Outside of security you have some very really world benefits, like performance gains in various scenarios as well as lots more people willing to contribute and a much better type system (more maintainability).

[-] Hawk@lemmynsfw.com 2 points 3 months ago

Exactly! I would never PR, extend or build off find.c, And I sure as shit I'm not gonna work on C or C++ in my own free time. However, Rust is really fun to use, and it's got a great ecosystem. In this vein, this is a good thing for the community, and it's not just hype.

The Fish blog post discussed this and I think they had a good point when they were talking about how hard it was to get contributors from a large pool when they were working with C++.

Without a doubt, anything you can do in Rust you can do in C and C++, but I think it's fair to say the large majority of people are going to be more productive in Rust or at least have a more enjoyable development experience.

[-] mesamunefire@lemmy.world -1 points 3 months ago

It's been proven faster. That's all I personally know.

[-] GolfNovemberUniform@infosec.pub -1 points 3 months ago

Nothing except for binary coding can be faster than C I think.

[-] qaz@lemmy.world 0 points 3 months ago* (last edited 3 months ago)

Rust is better for writing multithreaded applications which means that the small amount of utilities that can utilize parallelism receive a significant speedup. uutils multithreaded sort was apparently 6x faster than the GNU utils single threaded version.

P.S. I strongly doubt handwritten assembly is more efficient than modern C compilers.

[-] jecxjo@midwest.social 1 points 3 months ago

P.S. I strongly doubt handwritten assembly is more efficient than modern C compilers.

As with everything, it all depends.

When writing super efficient assembly you write towards the destination and not necessarily to fit higher level language constructs. There are often ways to cut corners for aspects not needed, reduction in instructions and loops all based on well designed assembly.

The problem is you aren't going to do that for every single CPU instruction because it would take forever and not provide a good ROI. It is far more common to write 99% of your system code in C and then write just the parts that can really benefit from fine tuned assembly. And please note that unless you're writing for an RTOS or something crazy critical on efficiency, its going to be even less assembly.

[-] arjache@fedia.io -1 points 3 months ago

Code written in Rust has been shown to have significantly fewer security vulnerabilities than code written in C. Distributions like Ubuntu ship a lot of security updates, so by switching to Rust-based utils, they can reduce their workload in the long run.

[-] daggermoon@lemmy.world -1 points 3 months ago

Rust is good, rare Ubuntu W. Now stop with the forced use of snaps.

[-] dustyData@lemmy.world 1 points 3 months ago

You think this is a win, but is just another step in the enshittification.

this post was submitted on 14 Mar 2025
5 points (77.8% liked)

Linux

11753 readers
16 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS