• ElCanut@jlai.lu
    link
    fedilink
    arrow-up
    76
    ·
    edit-2
    8 months ago

    Rust developer: I’d like to compile some code

    Rust compiler: the fuck you are

    • Malle_Yeno@pawb.social
      link
      fedilink
      arrow-up
      43
      ·
      8 months ago

      The rust compiler holds your hand, wraps you in blankets, makes you hot chocolate, kisses you on the forehead before it gently and politely points out what you did wrong and how you can solve it step-by-step. It would never think of something as heinous as swearing at you, shame on you for insulting my wife’s honour like this.

      • ElCanut@jlai.lu
        link
        fedilink
        arrow-up
        29
        ·
        8 months ago

        Rust compiler is passive agressive, like:

        “There’s an error at line 286 because you still don’t know how to use the borrow checker after all this time ♥️”

        • deur@feddit.nl
          link
          fedilink
          arrow-up
          4
          ·
          8 months ago

          its a compiler. That is at best projection, especially considering how the compiler’s error feedback is designed to be firm yet gentle.

      • _xDEADBEEF@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

        except when it gives errors about lifetimes of some object.

        boy, that makes my brain hurt

      • planish@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

        The rust compiler produces a flawless understanding of your code, and then quits out because understanding that code is a Nightly-only feature and you’re using the stable build.

      • hector@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        I don’t know from where this legend comes from but lifetimes/concurrency/macros errors are brain-hurting.

        Most of the time I find myself dropping project because I wrote my program in a correct way but Rust just does not like how it is designed lol. I can’t get shit done with this language