On 17 November Daniel Stenberg, who has led curl for most of its life, wrote about two projects that had done what people have asked of him for years. They rewrote curl in Rust. Neither was written by a team. In his words, "you can make a set of agents accomplish this in only a few weeks". By his count the agents turned 185,000 lines of C into 340,000 lines of Rust. One of the projects, he notes, "claims to have spent 8,600 USD to make it happen".
Then he counted what his own project did in the same period. "We merged over 300 commits in the actual curl project." Of those, "a little over 200 bugfixes actually". And the sentence that matters: "200 bugfixes that none of those rust rewrites have."
A little more than three weeks. That is how long it took for a finished rewrite to fall 200 fixes behind the thing it copied.
The line that used to stop the proposal is gone
Every company has a rewrite somebody wants. The billing system in the old framework. The vendor tool the team is sure it could build better. For 20 years those proposals died on one line of the business case: what it costs to write. Six engineers for nine months was a number a CEO could refuse.
That line no longer refuses anything. A second example from the same week. On The Pragmatic Engineer, Gergely Orosz reports Harjot Gill, the CEO of CodeRabbit, saying his company was "quoted $13M/year for a CI solution to handle their PR output", and that the price made him decide to build their own with agents. Orosz's summary: "It took a week, and the new CI cost 50% less than the quote, with similar performance."
A week. That story will be told as proof that build now beats buy, and the week is the true part. Look at what the summary does not contain. It does not say who owns that CI system now, who is on call when it stalls, or what it costs to keep. The vendor's quote included all three. The quote was a price for upkeep, and the comparison was made against a price for writing.
The proposals will get approved now, because the number that used to stop them is small. The meeting ends before it reaches the line that was always the real one.
The asset was the test suite, and the rewrite did not pay for it
Stenberg explains why the rewrite was possible at all. curl is thoroughly documented, hundreds of applications use its API, and "there are thousands of test cases to verify the implementation". So, he writes, "all the AI needs to do is convert it to rust, then polish until the tests work".
Read that as an asset register. The code was reproduced in weeks. The tests were not reproduced. They were borrowed. They are the product of decades of people finding out what curl has to do, and they are the reason the agents had anything to aim at. The rewrite got the cheap asset and none of the process that produces the expensive one.
Stenberg is not sentimental about C. He counts 81 confirmed curl vulnerabilities so far in 2026 and says 14 of them, 17.3%, came from mistakes a memory-safe language would most likely have avoided. That is a real benefit, and it leaves 67. His position follows: "I don't believe in rewrites into any language. I believe in constant and never-ending polishing, iterating and refactoring."
The question was never what it costs to write it. It is who merges the next 200 fixes.
Upkeep is the line that is going up
If writing got cheap and upkeep stayed flat, this would be a small correction. Upkeep is not staying flat.
PostgreSQL 19 shipped this month. Simon Willison noted that most years the release comes in September, and this one "came two months later". Robert Haas, one of the project's committers, had explained the delay on 30 October under the title "Postgres 19 is late, and it's AI's fault". His explanation: "The short answer is that LLMs happened." The models did not write bad code into Postgres. They made it "vastly easier to find" the bugs that were already there. Between 8 April and 25 September 2025 the stable branch took 724 commits. Over the same dates in 2026 it took 1,169, a jump he puts at more than 60%.
And the fixes did not get cheaper to accept. "LLMs can draft fixes, but those fixes aren't always correct," Haas writes, so they still have to be reviewed and committed by people, "and those humans have not gotten any smarter between 2025 and 2026".
Put the three stories on one page.
| Line in the business case | Before agents | Now |
|---|---|---|
| Writing it | A team, for months | Agents, for weeks |
| Finding its bugs | Slow, done by experts | Fast, done by anyone |
| Reviewing and merging the fixes | People | The same people |
| Owning it in month four | A named person | A named person |
Two lines fell. Two did not move, and the second line now feeds the third faster than before. Anything you own will receive more bug reports next year than it did this year. That is true of what you buy as well, but there the vendor's team absorbs it and the quote is where you see the cost.
What I would decide in your chair
Three things, before anyone opens an editor.
Price the upkeep first. The build estimate is now the least informative number in the proposal. Ask for the other one: hours a week, from whom, for how long, and what they stop doing. If the answer is "the agents will maintain it", ask who reviews what the agents merge. Haas has already told you that person did not get faster.
Put a name on month four. I make architecture decisions explicit, documented and reversible through decision records, and the line I now ask for first is the owner after launch. Not the team. A person, with the time written next to the name. A rewrite with no name on that line is a proof of concept, whatever it is called. Stenberg asks the same of the curl rewrites: "Are they anything more than proof of concepts?"
Ask for the version that rebuilds nothing. Most rewrite proposals are a request for one capability, wrapped in a new codebase. On ZenHammer we brought computer vision into the job-site workflow without rebuilding the architecture around it. The capability arrived. The upkeep stayed where it already had an owner.
I have been on the receiving side of this. I have had Rust merged upstream into other people's projects, and writing the patch was the short part of the work. The long part belongs to whoever accepted it.
What I am not claiming
- That the rewrites are bad or their authors wrong. I have not read their code. Stenberg has not spoken to them either, and wishes them luck. The argument needs only his count of what the original did meanwhile.
- That the $8,600 is a verified cost. It is one project's claim, as Stenberg reports it, and readers of his post dispute how it was calculated.
- That CodeRabbit made a bad decision. Half of that quote may be the right call for them. The figures are Gill's own account, relayed by Orosz, who calls the company an outlier. My point is what the comparison leaves out.
- That you should never build. Build got cheaper and that is good news. It is the approval that needs a new first question.
Monday
Three questions for the next build or rewrite proposal that reaches you.
- Who owns this in month four, by name, and what do they stop doing to make room?
- What did the vendor's price include that our estimate does not? On-call, security fixes and upgrades are the usual three.
- Which tests tell us it works, who wrote them, and who keeps them true after launch?
If a rewrite is on your roadmap because it suddenly looks cheap, and nobody in the room can answer the first question, that is the conversation I have most weeks.
Referenced in this issue
- Actual curl rewrites in rust · Daniel Stenberg, daniel.haxx.se, 17 November 2026 — the two rewrites, the line counts, the 8,600 USD claim, the 300 commits and 200 bug fixes, the test suite, the 81 vulnerabilities, his position on rewrites.
- Software factories and code reviews with Harjot Gill · Gergely Orosz, The Pragmatic Engineer, 18 November 2026 — the $13M quote, the week, the 50%.
- Postgres 19 is late, and it's AI's fault · Robert Haas, 30 October 2026 — "LLMs happened", the 724 and 1,169 commits, fixes still reviewed by people.
- PostgreSQL 19 Released · Simon Willison, 19 November 2026 — the release arriving two months later than usual.

