• AudaciousArmadillo@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    63
    ·
    10 days ago

    I guess not rust itself, but people telling them to switch to rust over and over again. They use a lot of assembly magic to get good performance, they aren’t in C land.

    • communism@lemmy.ml
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      10 days ago

      You can embed Assembly in Rust. A lot of low-level Rust projects embed Assembly.

      • UnfortunateShort@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 days ago

        Totally, though I wouldn’t bother switching if your project is half assembly anyway. Unsafe Rust definitely has some beauty to it, but only if there is some safe Rust to embedd it into

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        10 days ago

        Although if you’re doing it a lot, you’ve basically removed the main advantage of using Rust.

        By the way, how is compilation to things other than LLVM going? I haven’t checked in a while.

      • three@piefed.social
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        7
        ·
        edit-2
        10 days ago

        Bro, just use Rust, bro.

        We get it, Rust can suck your dick… and more!

        • communism@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          10 days ago

          I don’t see where I said any of the words you just quoted. Impressive if Rust can suck a dick I don’t have though, I’ll give them that.