‹ BackHN Continuity

Thread

Emitting metadata early makes building/checking Rust up to twice as fast

136 points · 32 comments · knuckleheads

  1. swiftcoder · · focus · HN ↗
    Excited to see if there is a path to getting this in the mainline compiler
    1. knuckleheads · · focus · HN ↗
      Talking with them presently! This specific set of changes won't get in (LLM written, little to no thinking through of the broader design), but I am hoping something like it shows up sometime.
      1. gchamonlive · · focus · HN ↗
        Never thought of it like this, that synthetic code doesn't need to get into a codebase for it to benefit from the discussion around what was encoded with LLM.
        1. knuckleheads · · focus · HN ↗
          Yes it's a pretty well thought out policy. It feels bad for someone to put in a month of work and have their code ultimately rejected, but if an llm does something sloppy with some light guidance in a few days, then great, experiment with some weird stuff and see what happens, then once you know it probably should work, go in for that month of work and make it happen.
        2. Aurornis · · focus · HN ↗
          Using LLMs to build dozens of prototypes and test them before committing to a direction is one of their great strengths.

          You no longer have to guess which paths will pay off. Have the LLM test them all, then go back and write the best one how you wanted to.

          1. thatsabadlook · · focus · HN ↗
            Sucks when four out of twelve are flawed and you rule out the top 2 best solutions and 5 useful test cases you could learn from by just spray and praying... But at least it was fast!?
        3. nonethewiser · · focus · HN ↗
          This is why LLM generated PRs are great… they should just be opened as issues instead.
          1. thayne · · focus · HN ↗
            That's a good point. I've gotten a few PRs to a project I work on, where the general idea is good, bit the actual code has serious issues, so I end up just implementing the idea myself in a better way.
          2. thatsabadlook · · focus · HN ↗
            It's a decent idea until 12000 bots start spamming a repo with janky code and poorly founded really complex suggestions for cs students to spray and pray resume padding.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.