Wedson Almeida Filho is a Microsoft engineer who has been prolific in his contributions to the Rust for the Linux kernel code over the past several years. Wedson has worked on many Rust Linux kernel features and even did a experimental EXT2 file-system driver port to Rust. But he’s had enough and is now stepping away from the Rust for Linux efforts.

From Wedon’s post on the kernel mailing list:

I am retiring from the project. After almost 4 years, I find myself lacking the energy and enthusiasm I once had to respond to some of the nontechnical nonsense, so it’s best to leave it up to those who still have it in them.

I truly believe the future of kernels is with memory-safe languages. I am no visionary but if Linux doesn’t internalize this, I’m afraid some other kernel will do to it what it did to Unix.

Lastly, I’ll leave a small, 3min 30s, sample for context here: https://youtu.be/WiPp9YEBV0Q?t=1529 – and to reiterate, no one is trying force anyone else to learn Rust nor prevent refactorings of C code."

  • youmaynotknow@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    17 days ago

    Ted Ts’o is a prick with a god complex. I understand his experience is hard to match, we all have something in our lives we’re that good at, but that does not need to lead to acting like a fucking religious fanatic.

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      I understand his experience is hard to match, we all have something in our lives we’re that good at

      At some point, that mix of experience and ego becomes a significant liability. He’s directly hurting the adoption of Rust in the kernel, while the C code he’s responsible for is full of problems that would have been impossible if written in safe Rust.

      CVE-2024-42304 — crash from undocumented function parameter invariants
      CVE-2024-0775 — use-after-free
      CVE-2023-2513 — use-after-free
      CVE-2023-1252 — use-after-free
      CVE-2020-14314 — out of bounds read
      CVE-2019-19447 — use-after-free
      CVE-2018-10879 — use-after-free
      CVE-2018-10881 — out of bounds read
      CVE-2014-8086 — race condition
      CVE-2009-0748 — null pointer dereference

      • Flipper@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        crash from undocumented function parameter invariants

        My favourite, as that was the exact point the dev was making in his talk, that the stuff is badly documented and that the function signature would document it perfectly.

        • WarmApplePieShrek@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          16 days ago

          My favorite, as that is the exact point made by anti-rust people.

          What kind of type signature would prove the first block of any directory in an ext4 filesystem image isn’t a hole?

          • Preston Maness ☭@lemmygrad.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            16 days ago

            What kind of type signature would prove the first block of any directory in an ext4 filesystem image isn’t a hole?

            I don’t know if the type system proves it’s not a hole, but the type system certainly seems to force consumers to contend with the possibility by surfacing the outcomes at the type system level. That’s what the Either is doing in the example’s return type, is it not?

            fn get_or_create_inode(
                &self,
                ino: Ino
            ) -> Result<Either<ARef<Inode<T>>, inode::New<T>>>
            
          • pivot_root@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            16 days ago

            The first directory block is a hole. But type == DIRENT, so no error is reported. After that, we get a directory block without ‘.’ and ‘…’ but with a valid dentry. This may cause some code that relies on dot or dotdot (such as make_indexed_dir()) to crash

            The problem isn’t that the block is a hole. It’s that the downstream function expects the directory block to contain . and .., and it gets given one without because of incorrect error handling.

            You can encode the invariant of “has dot and dot dot” using a refinement type and smart constructor. The refined type would be a directory block with a guarantee it meets that invariant, and an instance of it could only be created through a function that validates the invariant. If the invariant is met, you get the refined type. If it isn’t, you only get an error.

            This doesn’t work in C, but in languages with stricter type systems, refinement types are a huge advantage.

              • pivot_root@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                edit-2
                15 days ago

                If it were poorly designed and used exceptions, yes. The correct way to design smart constructors is to not actually use a constructor directly but instead use a static method that forces the caller to handle both cases (or explicitly ignore the failure case). The static method would have a return type that either indicates “success and here’s the refined type” or “error and this is why.”

                In Rust terminology, that would be a Result<T, Error>.

                For Go, it would be (*RefinedType, error) (where dereferencing the first value without checking it would be at your own peril).

                C++ would look similar to Rust, but it doesn’t come as part of the standard library last I checked.

                C doesn’t have the language-level features to be able to do this. You can’t make a refined type that’s accessible as a type while also making it impossible to construct arbitrarily.

      • youmaynotknow@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        He’s the guy you hear vexing rust in the video posted. While both languages have their pros and cons, he chooses to just blast this other guy by repeating the same crap over and over without letting him reply. Basically the kind of person with a “I win because I’m louder” demeanor.

    • qqq@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      17 days ago

      No intention of validating that behavior, it’s uncalled for and childish, but I think there is another bit of “nontechnical nonsense” on the opposite side of this annoying religious war: the RIIR crowd. Longstanding C projects (sometimes even projects written in dynamic languages…?) get people that know very little about the project, or at least have never contributed, asking for it to be rewritten or refactored in Rust and it’s likely just as tiring as the defensive C people when you want to include Rust in the kernel.

      People need to chill out on both sides of this weird religious war; a programming language is just a tool.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        I imagine this mentality is frustrating because of how many times they have to explain that they weren’t forcing people to learn Rust and that the Rust bindings were second class citizens. They never said to rewrite the kernel in Rust.

        • wewbull@feddit.uk
          link
          fedilink
          English
          arrow-up
          0
          ·
          16 days ago

          That’s disengenuous though.

          • We’re not forcing you to learn rust. We’ll just place code in your security critical project in a language you don’t know.

          • Rust is a second class citizen, but we feel rust is the superior language and all code should eventually benefit from it’s memory safety.

          • We’re not suggesting that code needs to be rewritten in rust, but the Linux kernel development must internalise the need for memory safe languages.

          No other language community does what the rust community does. Haskellers don’t go to the Emacs project and say “We’d like to write Emacs modules, but we think Haskell is a much nicer and safer functional language than Lisp, so how about we add the capability of using Haskell and Lisp?”. Pythonistas didn’t add Python support to Rails along side Ruby.

          Rusties seem to want to convert everyone by Trojan horsing their way into communities. It’s extremely damaging, both to those communities and to rust itself.

          • CancerMancer@sh.itjust.works
            link
            fedilink
            arrow-up
            0
            ·
            15 days ago

            It doesn’t help that the Rust community tends to bring extremely divisive politics with it in places and ways that just don’t need to happen, starting battles that aren’t even tangentially related to programming.

    • IAmNotACat@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      Agreed. His experience might be useful if he were there to engage, but he’s clearly not. It seems like he just wanted to shout down the project and it seems like he was somewhat successful.

  • ᕙ(⇀‸↼‶)ᕗ@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    RUST ppl feel like ARCH ppl. yes it might be better than some other setup yadda yadda, but they are so enervating.i’d rather switch back to windows11 than read another post/blog on how som crustians replaced this or that c library. just shut up already.

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      Arch people tell you “I use arch BTW”

      Rust people make PRs rewriting your code in rust.

      Rust people are worse.

    • ZILtoid1991@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      The sad thing is, there are other languages better at replacing C/C++ due to closer resemblance, except they’re rarely used due to lack of trendy technology that is being hyped in Rust. D lost a lot of ground due to its maintainers didn’t make it an “immutable by default” language at the time when functional programming paradigm was the next big thing in programming (which D can still do, as long as you’re not too fussy about using const everywhere).

      • merthyr1831@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        It was never about replacing C with a new language for the sake of novelty, it was about solving the large majority of security vulnerabilities that are inherent in memory-unsafe languages.

        If Rust were to implode tomorrow, some other memory-safe language would come along and become equally annoying to developers who think they’re the first and only person to suggest just checking the code really hard for memory issues before merge.

          • merthyr1831@lemmy.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            14 days ago

            Rust’s memory safety is at compile-time. Java relies on a virtual machine and garbage collector. Nothing wrong with that approach but there’s a reason Rust is used in kernels and Java is used in userspace apps.

  • antihumanitarian@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    The comments from that article are some of the most vitriolic I’ve ever seen on a technical issue. Goes to prove the maintainer’s point though.

    Some are good for a laugh though, like assertions that Rust in the kernel is a Microsoft sabotage op or LLVM is for grifters and thieves.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    This is a little off topic and admittedly an oversimplification, but people saying Rust’s memory safety isn’t a big deal remind me of people saying static typing isn’t a big deal.

  • ik5pvx@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    17 days ago

    At the cost of sounding naive and stupid, wouldn’t it be possible to improve compilers to not spew out unsafe executables? Maybe as a compile time option so people have time to correct the source.

    • chrash0@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      the semantics of C make that virtually impossible. the compiler would have to make some semantics of the language invalid, invalidating patterns that are more than likely highly utilized in existing code, thus we have Rust, which built its semantics around those safety concepts from the beginning. there’s just no way for the compiler to know the lifetime of some variables without some semantic indication

    • it_depends_man@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      At the cost of sounding naive and stupid

      It may be a naive question, but it’s a very important naive question. Naive doesn’t mean bad.

      The answer is that that is not possible, because the compiler is supposed to translate the very specific language of C into mostly very specific machine instructions. The programmers who wrote the code, did so because they usually expect a very specific behavior. So, that would be broken.

      But also, the “unsafety” is in the behavior of the system and built into the language and the compiler.

      It’s a bit of a flawed comparison, but you can’t build a house on a foundation of wooden poles, because of the advantages that wood offers, and then complain that they are flammable. You can build it in steel, but you have to replace all of the poles. Just the poles on the left side won’t do.

      And you can’t automatically detect the unsafe parts and just patch those either. If we could, we could just fix them directly or we could automatically transpile them. Darpa is trying that at the moment.

      • ik5pvx@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        17 days ago

        Thank you and all the others that took time to educate me on what is for me a “I know some of those words” subject

    • zaphod@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      Modern C compilers have a lot of features you can use to check for example for memory errors. Rusts borrow-checker is much stricter as it’s designed to be part of the language, but for low-level code like the Linux kernel you’ll end up having to use Rust’s unsafe feature on a lot of code to do things from talking to actual hardware to just implementing certain data structures and then Rust is about as good as C.

    • snaggen@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      17 days ago

      The problem is that C is a prehistoric language and don’t have any of the complex types for example. So, in a modern language you create a String. That string will have a length, and some well defined properties (like encoding and such). With C you have a char * , which is just a pointer to the memory that contains bytes, and hopefully is null terminated. The null termination is defined, but not enforced. Any encoding is whatever the developer had in mind. So the compiler just don’t have the information to make any decisions. In rust you know exactly how long something lives, if something try to use it after that, the compiler can tell you. With C, all lifetimes lives in the developers head, and the compiler have no way of knowing. So, all these typing and properties of modern languages, are basically the implementation of your suggestion.

    • 0x0@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      Compilers follow specs and in some cases you can have undefined behavior. You can and should use compiler flags but should complement that with good programming practices (e.g. TDD) and other tools in your pipeline (such as valgrind).

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      0
      ·
      15 days ago

      This has been done to a limited extent. Some compilers can check for common cases and you can enforce these warnings as errors. However, this is generally not possible as others have described because the language itself has behaviors that are not safe, and too much code relies on those properties that are fundamentally unsafe.

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        ·
        15 days ago

        I’d like to add that there’s a difference between unsafe and unspecified behavior. Sometimes I’d like the compiler to produce my unsafe code that has specified behavior. In this case, I want the compiler to produce exactly that unsafe behavior that was specified according to the language semantics.

        Especially when developing a kernel or in an embedded system, an example would be code that references a pointer from a hardcoded constant address. Perhaps this code then performs pointer arithmetic to access other addresses. It’s clear what the code should literally do, but it’s quite an unsafe thing to do unless you as the developer have some special knowledge that you know the address is accessible and contains data that makes sense to be processed in such a manner. This can be the case when interacting directly with registers representing some physical device or peripheral, but of course, there’s nothing in the language that would suggest doing this is safe. It’s making dangerous assumptions that are not enforced as part of the program. Those assumptions are only true in the program is running on the hardware that makes this a valid thing to do, where that magical address and offsets to that address do represent something I can read in memory.

        Of course, pointer arithmetic can be quite dangerous, but I think the point still stands that behavior can be specified and unsafe in a sense.

  • merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    The video attached is a perfect example of the kind of “I’m not prepared to learn anything new so everyone else is wrong” attitude that is eating away at Linux like a cancer.

    If memory safety isn’t adopted into the kernel, and C fanaticism discarded, Linux will face the same fate as the kernels it once replaced. Does the Linux foundation want to drag its heels and stuff millions into AI ventures whilst sysadmins quietly shift to new kernels that offer memory safety, or does it want to be part of that future?

    • WarmApplePieShrek@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      If Linux gets rewritten in Rust it will be a new kernel, not Linux. You can make new kernels, even in Rust but they aren’t Linux. You can advertise them at Linux conferences but you can’t force every Linux dev to work on your new Rust kernel.

      • merthyr1831@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        14 days ago

        the crew on the Ship of Theseus would like a word with you. Because if you strip out every subsystem and replace them with a different language, everyone would still call it Linux and it would still work as Linux.

        Linux isn’t “a bunch of C code” it’s an API, an ABI, and a bunch of drivers bundled into a monorepo.

      • witx@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        Isn’t Linux still Linux even though probably a lot of the original code is gone? Why would slowly rewriting it whole, or just parts, in Rust make it stop being Linux?

      • PotatoesFall@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        There is no “your” new rust kernel. There is a gigantic ship of Theseus that is the Linux kernel, and many parts of it are being rewritten, refactored, removed an added all the time by god knows how many different people. Some of those things will be done in rust.

        Can we stop reacting to this the way conservatives react to gay people? Just let some rust exist. Nobody is forcing everyone to be gay, and nobody is forcing everybody to immediately abandon C and rewrite everything in rust.

  • Findmysec@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 days ago

    Who the fuck is this little shit? Can’t they even be a little considerate towards rust? Just because they have 15 years worth of inertia for C doesn’t mean they can close their eyes and say “nope, I’m not interested”. I do not see how the kernel can survive without making rust a first class citizen

  • kbal@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    17 days ago

    3min 30s, sample for context

    If you keep watching for 10 minutes, it’s an interesting discussion. Too bad they had to cut it short due to time.

  • slowcakes@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    People are dumb as hell, it’s fucking open source, go maintain the c fork, and let the those who want to improve the fucking shit cve producing codebase make a rust fork. And see which one people will use, and we all know that the rust fork will have wider adoption, it’s a no brainer.

    No one is forcing them to maintain the Linux kernel, no one is telling them to stop writing patches, they can’t because you can download the code and work on it as you like.

    It’s people who know they will be irrelevant because they spent decades producing shit software, and they can’t even be bothered to learn a new language to improve stability and security for the whole fucking userbase. Give me a break, what a bunch of whiners.

    • Kwozyman@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      It’s people who know they will be irrelevant because they spent decades producing shit software

      So the Linux kernel is shit software now? Just because it’s not written in the newest programming language? Kind of a hot take.

    • PotatoesFall@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      Nobody can maintan a fork of the linux kernel on their own or even with a team. It’s a HUGE task.

      There already is rust in part of the linux kernel. It’s not a fork.

      But I agree with your first statement, people are dumb as hell, me included lol

    • witx@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      16 days ago

      This is such a dumb take. For as much as I’d like to have a safer language in the kernel you need the current developers, the “big heads” at least because they have a lot of niche knowledge about their domains and how they implementation works (regardless of language) People shouldn’t take shit like this from the ext4 developer, but it doesn’t mean we should start vilifying all of them.

      This guy’s concerns are real and valid but were expressed with the maturity of a lunatic child, but they are not all like this.

      • merthyr1831@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        If anything, the constant coddling of a few aging individuals within the kernel and the protection of their comforts is why Linux has been so slow to adopt technologies and paradigms that developers are begging for.

        Linus complains of dev burnout starving the kernel of contributors, but the processes and technologies driving kernel development are antiquated, and the very suggestion of change is either discarded or makes you the target of a public shaming by Linus himself.

        • witx@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          16 days ago

          I agree with your views. But I have to give praise to Linus for bringing Rust into the kernel.

      • slowcakes@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        Yes and the big heads in this case don’t want to share that knowledge, because why? Because they are treating the kernel like their pet project that they own and control, and they don’t wanna lose that control, rather looking at the bigger picture.

        It’s kinda obvious that rust is the way forward as google has clearly shown, so why are they gatekeeping?

        • witx@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          16 days ago

          Yes I agree but the solution for a project so big and critical is not to fork. How do you maintain all of it while at the same time adding support to Rust?

          • slowcakes@programming.dev
            link
            fedilink
            arrow-up
            0
            ·
            16 days ago

            There’s no solution, they need not only to accept that rust is going to be part of the kernel but also that it’s a good thing. Otherwise how do you cooperate efficiently.

            And also if they are so big brained, should be easy to learn rust then, I mean I’m pretty small brained and I know rust.

              • slowcakes@programming.dev
                link
                fedilink
                arrow-up
                0
                ·
                15 days ago

                What compromise? Half code should be in rust?

                What does this even have to do with rust developers, The language rust gives us the ability to have more compile time checks, and why is that a bad thing. Do you like security issues in your OS because some dev forgot to handle pointers correctly?

  • Daniel Quinn@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 days ago

    Oof, that video… I don’t have enough patience to put up with that sort of thing either. I wonder how plausible a complete Rust fork of the kernel would be.

    • Vincent@feddit.nl
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      That person in the audience was really grinding my gears. Just let the folks you’re talking to answer you; no need to keep going on your diatribe when it’s based on a false assumption and waste the whole room’s time.

      • moriquende@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        17 days ago

        let’s not lose focus of what’s important here, and that is a room full of people hearing my voice and paying attention to me for as long as I manage to hold it

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      Just fork and port Ext4 to Rust and let the little shit sit in his leaking kiddy pool out back.

    • rollmagma@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      It’s always been this way. Except that it was kernel developers arguing with kernel developers over C code. Now it’s relative newcomers arguing with kernel developers over Rust code that the kernel devs don’t necessarily care about. Of course it’s going to be a mess.

      A fork is of course possible, but operating systems are huge and very complex, you really don’t want to alienate these folks that have been doing exclusively this for 30 years. It would be hard to keep the OS commercially viable with a smaller group and having to do both the day to day maintenance, plus the rewrite. It’s already difficult as it is currently.

      Rust will be a huge success in time, long after the current names have lost their impetus. This is not a “grind for 4 years and it’s done” project.

      • ramble81@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        17 days ago

        folks that have been doing this exclusively for 30 years

        And yet the number of people I hear “just switch to Linux!” When the other person has been using Windows for 30 years blows my mind.

        Inertia is a hell of a drug.

        • superkret@feddit.org
          link
          fedilink
          arrow-up
          0
          ·
          17 days ago

          I wouldn’t tell a Windows developer with 30 years experience to just switch to developing for Linux.
          Users are different. Most people who have used Windows for 30 years never touch anything outside of the desktop, taskbar and Explorer.

          • Hotzilla@sopuli.xyz
            link
            fedilink
            arrow-up
            0
            ·
            17 days ago

            I have been using Windows for 30 years and Linux for 25 years (debian since 99’). I really would not bash (pun intended) windows users so much, there is place for both of them.

          • ILikeBoobies@lemmy.ca
            link
            fedilink
            arrow-up
            0
            ·
            17 days ago

            It’s insane to find a windows user that doesn’t live in the terminal, it’s just not designed for it

            Linux has a gui for everything

      • ericjmorey@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        17 days ago

        It’s also a microkernel and intentional not POSIX compliant (but it’s close to compliant). I like the project, but it’s very experimental on purpose, so we should set our expectations accordingly. I’d love to see it become a success, but it may not be or it may only be successful in a smaller niche than the current Linux ecosystem.

        That said, it seems very open to new contributors. I hope more people can help it along.

    • WarmApplePieShrek@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      You should do it. The Linux kernel is a C project. You can’t change a 30-year project on a dime. Make your own project with Rust and hookers.

    • floofloof@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      I wonder how plausible a complete Rust fork of the kernel would be.

      It sounds highly impractical, and it would probably introduce more issues than Rust solves, even if there were enough people with enough free time to do it. Any change must be evolutionary if it’s going to be achievable.

    • cerement@slrpnk.net
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      NOT a fork of Linux, but Redox is aiming for a Unix-like OS based on Rust – but even with “source compatibility” with Linux/BSD and drivers being in userspace, my guess would be hardware drivers are still going to be a big speed bump

      • merthyr1831@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        All you need nowadays for a decent Unix-like is compatibility with a handful of Linux softwares and a web browser. Hell, if you could get WINE working on your kernel you could maybe support as many Windows apps/games as Linux for free.

        The big issue, as I see it, is performant drivers for a wide range of hardware. That doesn’t come easy, but I wonder if that can be addressed in a way I’m too inexperienced to know.

        But projects like Redox are a genuine threat to the hegemony of Linux - if memory safety isn’t given the true recognition it deserves, projects like Redox serve to be the same disrupting force as Linux once was for UNIX.

  • NauticalNoodle@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    15 days ago

    I admit I’m biased towards C-languages out of sheer personal preference and limited exposure to Rust but I am wondering, are there any major technical barriers to Rust replacing these languages in it’s current form anymore?

    I know there has been a lot of movement towards supporting Rust in the last 6 years since I’ve become aware of it, but I also get flashbacks from the the early 00’s when I would hear about how Java was destined to replace C++, and the early 2010’s when Python was destined to replace everything only to realize that the hype fundamentally misunderstood the use case limitations of the various languages.

    • bonus_crab@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      15 days ago

      Its mainly a matter of stabilizing existing features in the language - there is rust in the linux kernel as of 6.1 but they have to be compiled with the nightly compiler.

      Rust is a very slow moving , get it right the first time esque, project. Important and relatively fundamental stuff is currently and has been useable and 99% unchanging for years but hasnt been included in the mainline compiler.

      Also certain libraries would be fantastic to have integrated into the standard library, like tokio, anyhow, thiserror, crossbeam, rayon, and serde. If that ever happens though itll be in like a decade.

    • superkret@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      My grandpa taught himself to text when he was 89. He just wrote a translation table:
      A = 2
      B = 22
      C = 222
      D = 3

    • 𝕸𝖔𝖘𝖘@infosec.pub
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      16 days ago

      You actually can. And it’s not that hard. I had a 14 year old German shepherd mix, who learned several new tricks before her death. I taught a partially blind 79 year old to use a computer, general internet, and email, and was communicating with her [via email] for a number of years before she lost the rest of her vision.

      Old dogs, as it were, absolutely can learn new tricks.

      Sorry, I just don’t like this idiom, because it puts people in a box in which they do not belong.

      • ramenu@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        That’s very wholesome to hear! :) Thank you for sharing. I’m glad it’s not the case.

      • Ulu-Mulu-no-die@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        16 days ago

        Many years ago at work, when PCs started to spread, I taught a 60 years old lady how to use one. She never saw a PC before yet she learned pretty well, and I saw much younger people not learning.

        Being willing to learn doesn’t depend on age, it’s a mindset, either you have it or you don’t, and if you do have it, it will last your entire life.

    • WarmApplePieShrek@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      You can, but you can’t turn a 30 year project on a dime. They’re understandably frustrated that newcomers keep coming and screaming RUST RUST RUST RUST RUST

      • PotatoesFall@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        yeah but this isn’t newcomers making noise. This is seasoned devs making meaningful contributions, and getting reactionary responses