Writing Rust code that's fast by asking agents to make the code faster
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Writing Rust code that's fast by asking agents to make the code faster
Unofficial Hacker News client; not affiliated with Y Combinator.
hombre_fatal · · focus · HN ↗
Once I had repo commands that could dump `sample` results and a cpu profiler/trace and then a benchmark tool that let me A/A + ABBA/BAAB-test the current modified git workspace against HEAD or any commit, the LLMs could just do their thing.
And that's how my homemade terminal uses much less memory than ghostty/kitty/iterm yet has more throughput.
AI is going to increasingly unmask people and companies who don't care about correct and performant software now that it's become so trivial to guarantee both. It used to at least be expensive and time-consuming and expertise-demanding to do those things.
Capricorn2481 · · focus · HN ↗
Then they can start attempting to optimize it. They can also spin round and round making the numbers worse because they don't actually know what to do.
loeg · · focus · HN ↗
"Claude, if this idea doesn't measure as an improvement (use X benchmark and a T-test), discard it and try the next idea."
Capricorn2481 · · focus · HN ↗
loeg · · focus · HN ↗
Capricorn2481 · · focus · HN ↗
loeg · · focus · HN ↗
Capricorn2481 · · focus · HN ↗