• Lucy :3@feddit.org
        link
        fedilink
        arrow-up
        8
        arrow-down
        9
        ·
        8 months ago

        Should ≠ Needs to

        You can do it, and it will work, but it’s unclean and not best-practice. I wouldn’t be surprised if it’s undefined behaviour.

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          22
          ·
          8 months ago

          Just to clarify. It is defined behavior - there’s plenty of undefined behavior in C but that ain’t one of them.

      • riodoro1
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        8 months ago

        should have a space after „>” and two new lines after „?”.

        I guess markdown is miserable as well.

        • kboy101222@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          5
          ·
          8 months ago

          Hey now, markdown serves it’s purpose. It’s not great, but as a web dev, I don’t want people expecting full WYSIWYG editors in every website cause fuck that!

    • cm0002OP
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      It’s all worth it for that sweet sweet 50ms speedup!/s

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        And sensible compile times.

        I’m trying to write a game in Bevy but my laptop’s Intel 7400 taking almost a minute to compile even small changes is really killing me.
        I’ve looked up rustc compile times on different CPUs and am seriously considering getting a new laptop with a Snapdragon X Elite or something in that vein for this.