• communism@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    3 hours ago

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

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 hour 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
      4
      arrow-down
      4
      ·
      edit-2
      3 hours ago

      Bro, just use Rust, bro.

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

      • communism@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 hours 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.

      • da_cow (she/her)@feddit.org
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        2 hours ago

        You can Programm microcontrollers with rust, so while rust may not be able to suck your dick directly, you can build a fully automated memory safe dick-sucking-machine with rust.

        • ZILtoid1991@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 hours ago

          I often joked, that if South Park made an episode about Rust, the compiler would work with a USB connected dildo, that you must suck every time you want to declare a variable instead of a constant, or go unsafe, also would feature a Cult of Java developers, that argue Java isn’t OOP, because you can just suck off the dick of the compiler in the same way, and use static functions and not have a complicated class hierarchy.