this post was submitted on 12 Nov 2025
436 points (95.2% liked)

linuxmemes

28819 readers
1218 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.
  • Don't come looking for advice, this is not the right community.
  • 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
    [–] Captain_Stupid@lemmy.world 10 points 1 month ago* (last edited 1 month ago) (2 children)

    Image working in an old building, there is no coffee machine, there is no warm water and if you want to do something new, chances of you getting in trouble because you forgot to mess with CMake or free memory, are high. But the building works since it has been tested for 30 years.

    Rust is a new building that you can move over to, there is a coffee machine that is a bit complicated at first but once you understand it it is that bad, there is warm water and you don't have to mess with CMake or allocate/free memory for everything. But the building is new, there will be issues here and there and sometimes the promised warm water wont work since someone fucked it up, but in general it is just sooooo much more comfy to work in.

    Rust is not about making Programming languages fast or memory safe. If you truly want to do that, I recommend doing crack and writing in assembly. It is about making programming easier without sacrificing speed.

    [–] BarfSqelcho@lemmy.world 4 points 1 month ago (1 children)

    I agree with you completely, but good god man, if you're going to use a metaphor stick with it.

    [–] Matty_r@programming.dev 1 points 1 month ago

    OK, imagine youre in a new car and youre like hmm donuts are good. But you know that when flight was first discovered it was scary, then after all that scares you knew it was worth while running the distance. Sometimes you gotta know when to fold em.

    [–] mr_satan@lemmy.zip 2 points 1 month ago (1 children)

    Ok, valid, is sudo (in this case) actively developed? Hom much maintenance does it require?

    All these analogies amount to what exactly? New == better?

    I get the enthusiasm for new shiny thing, especially when the new tool is better. But why do we need something like sudo rewriten? How does it make lives easier?

    There's a saying: if it ain't broke… I'm trying to figure how and why it's broken and all I see just a selling pitch for the language.

    [–] starelfsc2@sh.itjust.works 1 points 1 month ago (1 children)

    The analogy is "this building is working and tested, but it something DOES break it's a huge pain to fix it." whereas in rust it would be relatively painless. I don't know if that's worth rewriting it in rust but if the rust fanatics want to do it then eh why not.

    [–] mr_satan@lemmy.zip 1 points 1 month ago

    Well that's a very valid argument. If cost and impact of an error is very high and a rewrite mitigates that, sure, why not rewrite it. But in this comment thread I had to offer this argument myself, I haven't really seen it properly communicated.
    It's always β€” memory safety this, error handling that… These are good reasons to pick a language for a new project, but, god damn, it's a stupid reason for a stable program rewrite (let's say the program is mostly in maintenance mode: no major new features are planned; correct me if that's not the case for sudo).