• Vik@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    3 days ago

    can you elaborate on the recent fiasco you mentioned? I totally missed the news on that

      • This was caught during review, so nothing was “introduced” quite yet. And there’s no indication that Linus wouldn’t have produced a race condition (a notoriously more easy to miss kind of bug) without the use of AI tools.

        It’s only being exaggerated so much because he used AI.

            • tatterdemalion@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              1 day ago

              You are correct to point out the distinction between race conditions and data races. Rust only rules out data races.

              I don’t know whether the race in question was a data race or not.

              I would still wager that Rust code generally has fewer race conditions than C, given that mutable aliasing can be used as symbolic prevention of race conditions, i.e. your &mut T doesn’t necessarily need to hold data; it can represent some domain concept.

              aren’t language specific

              There are actually languages that guarantee deterministic concurrent execution, and this can rule out larger classes of race conditions than just data races. See the Bloom language and CALM theorem.

            • jjj@piefed.blahaj.zone
              link
              fedilink
              English
              arrow-up
              5
              ·
              3 days ago

              Yes, but the tools provided by Rust:

              1. Prevent most common ones via aliasing^mutability, Send and Sync marker traits, etc.
              2. Require explicitly marking the cases not handled by this, e.g. unsafe features require an unsafe {} block to be used.
        • Fmstrat@lemmy.world
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          3 days ago

          Yea he basically said “This seems to work but is slop, lead Dev, make it real.”

          • LH0ezVT@sh.itjust.works
            link
            fedilink
            arrow-up
            19
            ·
            3 days ago

            That is something I am surprisingly okay with. Quickly figuring out if something is feasible is good, and doing it in a back of the napkin style is the norm, even without LLMs. Of course then you need to do it properly, without falling into the trap of reimplementing the slop.

      • mcv@lemmy.zip
        link
        fedilink
        arrow-up
        23
        ·
        3 days ago

        Race conditions are not unusual, and it was caught during review, so there’s really no problem here.

        • Artemis_Mystique@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          2 days ago

          nothing to be nervous about, its literally software engineering and project management 101, programmer writes code reviewer catches bugs, nothing goes to production. this happens all the time, has happened in the linux kernel way before LLMs were a thing

      • manuallybreathing@lemmy.ml
        link
        fedilink
        arrow-up
        5
        arrow-down
        15
        ·
        3 days ago

        pretty lame

        lame /lām/

        adjective

        Disabled so that movement, especially walking, is difficult or impossible.

        :/

        • CileTheSane@lemmy.ca
          link
          fedilink
          arrow-up
          5
          ·
          3 days ago

          This is why dictionaries list more than 1 definition and you shouldn’t stop at the first one:

          1. weak; inadequate; unsatisfactory; clumsy.

          a lame excuse.

          1. Slang: Sometimes Disparaging and Offensive. awkward, dull, stupid, or uninteresting.
          1. Slang: Sometimes Disparaging and Offensive. out of touch with modern fads or trends; unsophisticated.

          https://www.dictionary.com/browse/lame

        • tomatosametomato@piefed.zip
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          3 days ago

          People who write this dictionary should listen to the public more maybe. Lame doesn’t mean what you wrote for at least 25 years.

          • TrickDacy@lemmy.world
            link
            fedilink
            arrow-up
            6
            arrow-down
            8
            ·
            3 days ago

            People are welcome to stop spreading the falsehoods. In every thread where this is said (including this one), the truth is pointed out but those spreading it couldn’t care less. Just scroll. Others are pointing out the details here just like every other place.

    • TrickDacy@lemmy.world
      link
      fedilink
      arrow-up
      15
      arrow-down
      10
      ·
      3 days ago

      Linus admitted he uses LLMs sometimes, so now the most trustworthy developer in the history of computers is now being shat on and raged about by people who probably couldn’t write a hello world app in any programming language. They’re just parroting the idea that Linux is vibecoded now, but it isn’t, and if anything they should be heartened by the recent decision to raise the bar for kernel contributors. Instead, they’re pretending Linus and other contributors aren’t trustworthy at all, based solely on a desire to feel outrage. When people correct them on these lies they’re spreading, no one ever admits they are wrong and stops spreading it, they just don’t respond to comments like that and continue writing them elsewhere.

      Tldr; people are stupid.