this post was submitted on 31 Mar 2025
549 points (96.3% liked)

linuxmemes

24196 readers
1602 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
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] frezik@midwest.social 11 points 21 hours ago

    It's for programmers who need their Imposter Syndrome amplified.

    [–] polite_cat@lemmy.world 16 points 1 day ago

    A type of person whos apartment would be a mess cause they never collect their garbage, but they have a good memory where they put things and what they need, so it is never a problem.

    [–] Zacryon@feddit.org 12 points 1 day ago (1 children)

    It's for people who suffer from severe anxiety when they see stuff like: -> or * for example. /j

    [–] interdimensionalmeme@lemmy.ml 3 points 21 hours ago* (last edited 21 hours ago)
    [–] Agent641@lemmy.world 39 points 1 day ago (3 children)

    It's a survival crafting game where players help each other survive the world with mutual cooperation, kind words and absolutely no Nazi or racist behaviour.

    [–] JuxtaposedJaguar@lemmy.ml 7 points 21 hours ago

    Actually it’s a low budget western movie starring Alec Baldwin that resulted in the tragic killing of cinematographer Halyna Hutchins due to inadequate safety practices on set.

    [–] thermal_shock@lemmy.world 3 points 17 hours ago

    ABSOLUTELY no racism, whatsoever

    [–] skooma_king@lemm.ee 6 points 1 day ago

    And no bee grenades

    [–] DonutsRMeh@lemmy.world 17 points 1 day ago (1 children)

    Feβ‚‚O₃·xHβ‚‚O

    [–] jim3692@discuss.online 3 points 21 hours ago (2 children)
    [–] StellarSt0rm@lemmy.world 1 points 17 hours ago (1 children)

    Is... Is that Rust on a phone!?

    [–] jim3692@discuss.online 1 points 17 hours ago (1 children)

    Yes. It's an app called termux, which is like having Debian on Android

    [–] StellarSt0rm@lemmy.world 1 points 17 hours ago

    Yeah, i know what termux is, i just didin't expect to see someone use Rust with termux.

    [–] interdimensionalmeme@lemmy.ml 2 points 21 hours ago (1 children)

    Did enable to cargo your pants in the right bucket assembly? I think you need at least 1.6.2 but not more than 2.2

    Try downgrading in the computer

    [–] jim3692@discuss.online 2 points 20 hours ago (1 children)
    [–] DonutsRMeh@lemmy.world 3 points 17 hours ago

    Maybe the battery is too low on the phone, and it's also rusty?

    [–] captain_aggravated@sh.itjust.works 99 points 1 day ago (14 children)

    Actual answer:

    Rust is a relatively new programming language. Similar to C or C++ it compiles directly into executable binary code so it can be used for bare metal or low level operating system programming. It is thus relevant to Linux kernel development as things like drivers can and are being developed in Rust.

    Compare this to the likes of Java or C# which get compiled to bytecode or a kind of pseudo machine code that gets run in a virtual machine, which has advantages for application development, or something like Python which is interpreted (or just-in-time compiled) at run-time, useful as an end user scripting language.

    Rust is designed from the ground up to tackle some modern problems, a key one being memory safety. It's a lot more paranoid about memory allocation and access and it's structured around this. Older languages like C allow the programmer a lot more absolute control over the hardware, which effectively means the C programmer has a lot more footguns in his toolbox. Theoretically, Rust offers fewer opportunities for the developer to shoot himself in the foot.

    Rust also comes with some really cool tooling. Compiler errors usually point straight at the problem and say something like "Shouldn't there be a colon here?" The build system, called Cargo, is really slick in a lot of ways, handling linking, compiling, even library package management in a very automatic fashion. It's real slick to work with.

    As with anything, fans of the language can be a bit much; they stereotypically suggest rewriting everything under the sun in Rust whether it makes sense or not, and this includes the Linux kernel, which has caused some friction in the community; Linux contributors are often very accustomed to C and some don't want to deal with anything else.

    [–] Bazoogle@lemmy.world 1 points 18 hours ago

    I listen to Steve Gibson's podcast "Security Now" and he was talking about why, for security reasons, memory safe applications should be the way of the future. So many security vulnerabilities come from improper memory management. And while C may be more powerful, giving up some of that power for standardization is almost always worth it. We could make much more progress if we were spending less time trying to make sure the memory is handling correctly in every situation. So while there is no doubt the crazy fans of it, I think moving to memory safe languages in general should be the way of the future.

    Of course, he still writes all his programs in assembly and refuses to learn anything else. But when you're at his age, I guess you get a pass XD

    load more comments (13 replies)
    [–] HotsauceHurricane@lemmy.one 27 points 1 day ago (2 children)

    It’s also what this beautiful thing is written in

    It’s also what this beautiful thing is written in

    Dude, that's just English.

    [–] GreenKnight23@lemmy.world 28 points 1 day ago (3 children)
    [–] Sasquatch@lemmy.ml 6 points 1 day ago

    Lemmy's backend is written primarily(entirely?) in Rust

    load more comments (2 replies)
    [–] ILikeBoobies@lemmy.ca 13 points 1 day ago
    [–] Ephera@lemmy.ml 110 points 2 days ago* (last edited 2 days ago) (4 children)

    It's a programming language, which is particularly relevant for Linux, because it doesn't require a runtime (separate program that runs the code). This allows it to be used in the kernel.

    But it also means that it's very good for building libraries. With a small bit of extra work, virtually any other programming language can call libraries implemented in Rust (like you can with libraries implemented in C).
    Add to that, that Rust allows for performance similar to C and makes lots of typical C bugs impossible, and suddenly you've got folks rewriting all kinds of C libraries and applications in Rust, which is something you might have also heard about.

    Thank you for the informative response. I knew rust was a programming language, but didn't know it's significance.

    load more comments (3 replies)
    [–] hedge_lord@lemmy.world 86 points 2 days ago* (last edited 2 days ago) (3 children)

    Rust is a programming language designed to run on crabs. It just happens to also run on computers. When rust programmers talk about the borrow checker, that's something born directly out of having to run on crabs. It's difficult to get the little guys to cooperate otherwise. And when they talk about rust having good error messages that's because of the crabs too. The compiler is not just some piece of software, it's a piece of software being run on crabs and the crabs have some measure of intuition to them. Basically what I'm saying is that carcinization applies to computer hardware.

    load more comments (3 replies)
    [–] InternetCitizen2@lemmy.world 163 points 2 days ago (18 children)

    Iron Oxide. Everyone else is wrong.

    load more comments (18 replies)
    [–] Upperhand@lemmy.world 117 points 2 days ago (3 children)

    It's a brutally competitive and toxic game.

    load more comments (3 replies)
    [–] rice@lemmy.org 3 points 1 day ago (1 children)
    [–] jim3692@discuss.online 2 points 21 hours ago (1 children)

    Other metals can corrode as well. It's not only iron oxidation.

    [–] rice@lemmy.org 2 points 21 hours ago (1 children)

    We're talking about rust, not corroding. Rust is only iron, nothing else.

    Can you make me some sake?

    load more comments
    view more: next β€Ί