Unofficial Hacker News client - receive Push Notifications on replies.

Moratorium (opens external site)

622 points by ultraficial 3 days ago | www-cs-faculty.stanford.edu | 421 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (15)

  1. Who even looks at AI produced code to find errors anymore?

    AI is turning code into what garbage collectors turned memory management into.

    It’s good enough for the speed it’s generated at and no one cares if there’s small errors or optimizations that could be made by hand rolling it

    Replies (6)
    1. Except the software I am using is becoming noticably worse.
    2. It's interesting how we keep anthropomorphizing the work of AI agents and processes under the guise that a human didn't set them forward to perform the action.

      If you have an agent make a stock trade for you, and it goes up, who is the beneficiary? If it goes down, who lost?

      If you are the owner of the result, the same holds true for other outcomes driven by AI agents that you instantiate.

    3. You don't look at ai code to find errors anymore. What's wrong with you? I look at it and so do my co-workers and we are constantly finding tons and tons of errors. Overall, AI is better than we are at writing code, but it still makes tons of errors for us humans to catch.
      Replies (2)
      1. Using Rust at work at a large company and AI strictly dominates human engineers now along any dimension that matters (coding, review, design etc)
        Replies (1)
        1. > AI strictly dominates human engineers

          This perhaps says more about the quality of your engineers than about the AI.

          Replies (1)
          1. The number of human engineers who can do code review better than AI is small and shrinking. Most companies won't be able to hire those few top engineers anyway, so snarky comments about "quality" aren't actionable.
            Replies (1)
            1. It isn't that hard. There are many in my company who do it every day. It is tedious, but not hard.
      2. > You don't look at ai code to find errors anymore.

        I don’t because I got removed from being in a paid position for doing so.

        If you want to hire a software engineer who would look at code again let me know.

        If your company won’t hire anyone for that sort of role anymore that I won’t pretend like your indignation matters.

        And to add on to that, if the person handling your interviews is appalled at a resume that has a bunch of buzzwords to get past your HR groups ATS, then you are effectively a company that won’t hire anymore.

    4. Or what compilers turned ABI into.

      Did you know unique_ptr is stack-allocated, not in a register, because the ABI says all objects are stack-allocated, not in registers, because the language says they have stable addresses? So whenever you pass a pointer, you actually pass a pointer to a pointer.

      I presume Rust fixes this.

      Replies (2)
      1. Box<T> can be passed via registers, that’s correct.
      2. Yes, Rust objects do not have stable addresses by default.
    5. I think there's much, much more Rust being written right now than there ever was historically, because it's suddenly much more accessible, and the ease of use of eg Python isn't nearly as relevant anymore. Currently Discord is rewriting their slow, shitty Electron app in Rust.

      So I think we're going to see much more performant software.

    6. > Who even looks at AI produced code to find errors anymore?

      Anyone who gives a damn about producing a quality product. LLMs are much worse at writing code than humans are, and you absolutely must review it if you don't want garbage.

      Replies (1)
      1. Works both ways.

        LLMs are now finding thousands of bugs and security issues in Postgres and Linux kernel, some of the most code-reviewed code bases in the world, supposedly by world-class programmers. So if you don't want garbage you must also use LLMs to code review human written code.