‹ BackHN Continuity

Thread

Writing Rust code that's fast by asking agents to make the code faster

114 points · 63 comments · mooreds

  1. pushpendraw · · focus · HN ↗
    one thing nobody mentioned here, once the agent is looping against the same benchmark it will happily optimize for the benchmark itself and not the real workload. worth rerunning the win against a slightly different input shape after, just to check it did not memorize the harness instead of actually fixing anything.
    1. minimaxir · · focus · HN ↗
      There is an entire paragraph about benchmaxxing and how to mitigate that.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.