this post was submitted on 12 Nov 2025
437 points (95.4% liked)

linuxmemes

28106 readers
1096 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] Euphoma@lemmy.ml 21 points 2 weeks ago (2 children)

    This is why its generally better to only write new code in more memory safe langs instead of rewriting everything

    [–] azertyfun@sh.itjust.works 11 points 2 weeks ago (1 children)

    The counterpoint is that, especially with FOSS that does not receive much (if any) corporate backing, developer retention and interest is an important factor.

    If I'm donating some of my free time to a FOSS project I'd rather not slug through awful build systems, arcane mailing lists, and memory unsafe languages which may or may not use halfway decent - often homebrew - manual memory management patterns. If the project is written in Rust, it's a pretty clear indicator that the code will be easily readable, compilable, and safer to modify.

    [–] nitrolife@rekabu.ru 3 points 2 weeks ago (3 children)

    But why the rust? there are quite a large variety of languages with memory protection (for example Java), and freely compiled (for example golang), but for some reason they persistently try to rewrite the whole "world" into rust. I'm not against rust, I'm really curious.

    [–] azertyfun@sh.itjust.works 6 points 2 weeks ago* (last edited 2 weeks ago)

    For systems programming it makes the most sense out of the languages you mentioned. Languages requiring a runtime (Java/Python) do not fill the bill for system tools IMO. Golang is more arguable, but its memory safety comes through GC which many systems programmers aren't fans of for a variety of technical and personal reasons.

    Rust is meant to be what C++ would be if it were designed today by opiniated system developers and didn't have to be backwards-compatible.

    Those are the technical arguments I would use in a corporate setting.

    All that aside, there's personal preference, and my point is that for FOSS projects that matters too. Rust is fun in a brain-teasy kind of way in the same way that writing C is fun, but without nearly as many footguns. Golang is practical but arguably not as fun. That's the same logic that draws many programmers to write Haskell projects.

    The story of the Fish shell illustrates it quite well; the project gained a lot of development attention and contributions when they decided to rewrite from C++ to Rust, where they achieved a stable release with feature-parity a few months ago. It would have been a remarkably dumb decision for a private company to make, but makes perfect sense when you are trying to attract free talent.

    [–] kuberoot@discuss.tchncs.de 6 points 2 weeks ago

    Both java and go seem excessively complex at runtime for fundamental system utilities, featuring garbage collection. Rust, on the other hand, keeps the complexity in the compiler and source, keeping the runtime code simpler. And of course it's doing that while trying to make it easier to manage memory and harder to make mistakes, without forcing extra runtime logic on you.

    [–] Sivecano@lemmy.dbzer0.com 1 points 2 weeks ago (1 children)

    Many things do use go, the issue with Java lies in its massive runtime burden (also not a great language IMO)

    [–] chunkystyles@sopuli.xyz 2 points 2 weeks ago (1 children)

    Java isn't an exciting language, sure.

    Kotlin is, though.

    [–] Sivecano@lemmy.dbzer0.com 2 points 2 weeks ago

    Agreed, Kotlin's a lot nicer.

    [–] anyhow2503@lemmy.world 1 points 2 weeks ago

    I do think there are long-term benefits in many cases, it just depends on available resources. There are plenty of projects that desperately need a rewrite for maintenance reasons alone so you might as well examine if language switch is worth it. It's not like there aren't a lot of success stories, even if there's projects like sudo-rs where we're, at best, not sure if there's tangible benefits.