• ziggurter [he/him, comrade/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      What a coincidence. A near-identical parrot was an executive at the place I used to work. Five years ago, he wouldn’t stop uttering “how can we put AI in that?” Love it when the boss tells you to use a “solution” which has no associated problems. Marks a great outlook for all of our futures. posadist-nuke

  • limer@lemmy.ml
    link
    fedilink
    English
    arrow-up
    25
    ·
    2 days ago

    While this is just a small research idea; it really highlights the Microsoft is the next Boeing, if not already now

  • hello_hello [comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    12
    ·
    2 days ago

    Rust doesnt even have shared object librairies how are they going to create an operating system for it?

    The Linux kernel is one monolithic static binary so rust works for it, but windows isn’t.

    Techinfluencers will also be thrown in the hole.

  • hellinkilla [they/them, they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 day ago

    Maybe I should make a new thread. But what is the communist line on rust?

    In Linux I have seen there is controversy with some rust being introduced in a foundational way. Replacing C. some people say it’s trash. Some people say its “safe” and then others dispute that.

    In terms of little tools I do find the rust ones are nice to have on hand. Ag silver searcher is much faster than grep. But grep being more mature and feature complete I would never get rid of or replace it. That is probably a question of modernity vs hours spent on it. If both grep and ag started from scratch in 2025 idk how it’d work out.

    Is rust like some sort of neoliberal intervention? That’s kind if the vibe I get but I can’t justify it or contemplate any adverse outcomes.

    • doodoo_wizard@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      20 hours ago

      Rust/js/python are the mill for programmers. They make the programmers work output increase but are being used by capital along with a bunch of other technologies to change the structure of technology and society in a way that’s good for capital and “good” for the people who don’t write software but harms those who do.

      Divorced from the marketplace, rust people are generally just annoying and unwilling to accept being beholden to any larger project they want to “contribute” to. Theres a bunch of reasons for this, it’s not like people with the wrong skull shape choose rust or js at some pivotal point in their brains development and go on to behave in the wrong way because they’re incapable of anything else.

      On the one hand they’re taught both that these languages are acceptable and valid to work in (which is true) and that a phenomenal way to pad one’s resume is to have worked on a bunch of open source stuff (which was once true) so now when they show up with a bunch of commits that the rest of the project doesn’t understand or have time to learn a whole new language in order to understand and get told to fuck off until someone has the time to deal with them it’s both an attack on their skills and abilities and on their future prospects.

      Anyway the structure of how big maintainers of open source projects are expected to be compensated is changing and the old maintainers material interests are aligned against the new contributors material interests and they don’t have a shared labor to bind them let alone some trade organization and the new programmers are literally under socialized and have spent sixteen years without any arts or literature or history education but I’m tired of typing you read capital volume 3 I’m sure it’s clear.

      • Imnecomrade [none/use name]@hexbear.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        20 hours ago

        Divorced from the marketplace, rust people are generally just annoying and unwilling to accept being beholden to any larger project they want to “contribute” to.

        This applies to nearly every software project under capitalism.

        • doodoo_wizard@lemmy.ml
          link
          fedilink
          English
          arrow-up
          4
          ·
          19 hours ago

          You are correct however I think there are unique conditions that rust/js/python devs are living under that makes it more prevalent.

            • doodoo_wizard@lemmy.ml
              link
              fedilink
              English
              arrow-up
              4
              ·
              16 hours ago

              Massive institutional presence in education, mit/bsd license culture, unexamined reliance on package/library manager.

              I’m not mounting a criticism of the languages themselves, their usefulness or goodness (whatever that means), just using them to triangulate on the cohort of developers who are in a particular situation.

    • ziggurter [he/him, comrade/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 day ago

      Some people say its “safe” and then others dispute that.

      It’s not safe. It just makes it easier to write safe code. Important difference. Just like when people claim you “can’t have a memory leak in a garbage-collected language”, they are also full of shit; all you have to do is keep a reference to something you never plan to use again, and you have as bad of a memory leak as in any environment where you can forget to call free/delete.

      I’m also using “easier” here with mild sarcasm. Sometimes it’s difficult to get the constructs right in Rust so that shit will compile. Once you do, it’s less likely you’ll do stuff like leak memory than if you get a program in another language to compile. So “easier” is really more like shorthand for “somewhat harder, most of the time, to let your brain worms escape to the runtime stage” (i.e. production).

    • hello_hello [comrade/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      Taking communist to mean materialist:

      Rust is CPP but RAII memory model is enforced by the compiler and there is no C subset (just foreign function interface). It became popular because it basically absorbed a lot of saavy high level language constructs into something that could compile to machine code rather than needing a runtime on the system. In the same vein it became very popular because the tooling was all first party (linting, package management, static analysis).

      The compiler requires LLVM (which is complicated on some platforms), and there are no shared libraries so every rust program is statically compiled with hundreds of libraries and so compilation takes much longer. There is gccrs which is an effort to port the language to GCC.

      Now my personal opinion TM

      I dislike rusts large dependency tree for even trivial programs and its npmification. The lack of ABI and reliance on static compilation is also a deal breaker for me.

      But also I feel like rust programs generally tend to be of higher quality and they actually are great at porting and claiming what they preach. Rust basically disproved Javas insistence on a virtual machine runtime and showed that compiling to machine code was still always possible.

      I just wish everyone used lisp instead.

    • ANarcoSnowPlow [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      I’m not sure why it’s pushed so hard other than I suspect the compiler is compromised or something by some alphabet agency.

      If that’s not it, I’m about to get real curmudgeonly. People tout it being “safe by design” and “better than c” because of memory safety being built in, etc.

      I’m no rust expert, though I’m arguably a (embedded at least) c expert, which biases me to some extent at least.

      My take is that for situations where memory safety was already critical, my understanding is that rust mechanisms would have to be bypassed anyway and the safety of C is ensured by processes proven over decades…

      So basically it feels like the CISA people trying to push “modern languages with modern safety” either because they don’t understand how we actually do things or because they want us to use it for another reason… Both of which are equally believable to me.

        • ANarcoSnowPlow [he/him]@hexbear.net
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 day ago

          Theoretically speaking… It could be possible for the compiler to recognize certain patterns and inject arbitrary instructions into the compiled code of interest. If it were really smart it would probably be limited to some specific platforms of interest, be some otherwise harmless looking instructions, that might do something to allow consistent exploitation under some specific circumstances. I’m just spit balling here, I’ve not put much thought into this past “I’m sure there could be some nasty shit you could do if you wanted to.”

          Another option might be hiding some information about the author and the system doing the compilation in binaries.

          You’re trusting the compiler to convert human readable code into machine readable code. I suspect you could sneak some “unreachable” code in there or something, and if it doesn’t look scary it’d be easy to write it off as a quirk of optimization or something.

          Edit: I have no evidence this is being done or has ever actually been done. I’m just saying that it’s theoretically possible.