News for hackers. Stuff that matters.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl on Saturday June 20, 2026 @10:04PM (#48614992)
Am I going to be the first person to ask this after five hours? Really?

Wouldn't this work be extremely easy to implement with an LLM coder?

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qustio on Saturday June 20, 2026 @11:09PM (#48615322)
I don't think the bottleneck was that it took six years to Ctrl-F strncpy and type in new code for each file.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl on Saturday June 20, 2026 @11:12PM (#48615335)
It's a shame you're misrepresenting what is actually going on.

In another comment here I explained that I have run a test: asking Claude Code to add a substantial feature to 270 different C programs.

Despite your beliefs - it went extremely well.

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qustio on Saturday June 20, 2026 @11:21PM (#48615369)
Huh, are you confusing me with someone else? I don't doubt Claude Code did that, I do the same for refactors all the time.

But xscreensaver theme tweaks for personal use have a much lower standard for quality control, regression testing, side effects, etc than a kernel used by billions of devices with thousands of interconnected drivers and subsystems.

Not to mention the coordination problem to get every maintainer on board and patches approved for each specific area when working on a project of that scale, even for a relatively narrow change.

Claude Code doesn't really help with that so don't see why the expectation would be a significant speed up (and doing it all in a single patch would definitely be rejected).

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl on Saturday June 20, 2026 @11:30PM (#48615418)
Yes, I understand the difference in rigor.

I refuse to believe the six year delay here was getting people to test a patch.

Which, actually, Claude Code will also do quite well.

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qustio on Saturday June 20, 2026 @11:40PM (#48615460)
Not sure why you'd refuse to believe that when a single, simple patch in Linux can take months to make it into a kernel release. Here we're looking at 300 patches scattered throughout a kernel with millions of LoC. That's going to translate to a lot of mailing list back and forth even if every change was accepted on the first try without a fuss.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl on Saturday June 20, 2026 @11:57PM (#48615549)
The lag there is not due to the review time. How many maintainers were involved? 300? Because I'm still finding it hard to understand how the work of 300 people handling 300 commits cannot be parallelized into months (per your own stat.)
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qustio on Sunday June 21, 2026 @12:04AM (#48615581)
To be clear my original statement was that the bottleneck was most likely not mechanical code changes (where CC would have the most direct speedup) but everything else involved in the process.

Not that the Linux kernel approval procedures couldn't be streamlined, work couldn't be parallelized, or anything else like that, which would be a different discussion entirely.

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl on Sunday June 21, 2026 @12:19AM (#48615641)
Right.

And what I'm saying is I refuse to believe the Linux kernel approval procedures are that inefficient. Therefore, your belief "bottleneck was most likely not mechanical code changes" is most likely incorrect.

It would be interesting to get the actual answer to this question.

EDIT: Substantially changing your argument after posting isn't nice. But to answer your charge - no - I never made that claim.

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qustio on Sunday June 21, 2026 @01:03AM (#48615841)
Sorry, I didn't feel like this thread needed to be dragged out any longer since it's going in circles at this point and expanded my comment, but I didn't realize you had already replied.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl on Sunday June 21, 2026 @01:38AM (#48615983)
Well - not really a circle. I keep saying the same thing over and over and you keep throwing arguments at it, unsuccessfully.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by NetMageSCW on Sunday June 21, 2026 @02:44AM (#48616277)
I don’t think it’s the arguments that are unsuccessful.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl on Sunday June 21, 2026 @04:24AM (#48616817)
If you have an actual criticism of my argument you'll need to be more clear to be understood.
Re:Linux Eliminates the Strncpy API After Six Years of Work,... by lelanthran on Sunday June 21, 2026 @05:16AM (#48617098)
> In another comment here I explained that I have run a test: asking Claude Code to add a substantial feature to 270 different C programs.

That's a different scenario, though.

Would Claude have performed adequately if it had to add a specific feature to 270 programs buried in a set of 270m program, each of which may or may not have a dependency on one or more of the others, with virtually unbounded results to test?

In terms of tokens alone, that would have been cost-prohibitive. But lets assume that you had the money to do this: it still might not even be possible.

You're confusing "I have these 270 independent programs and want to make this change to all of them" with "I have these 270m lines of code, of which only 270 needs to be changed".

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl2 on Sunday June 21, 2026 @10:58AM (#48619515)
HackerNews is now censoring my replies. I did the math - all of these patches would have cost around $100.

Let's see if they'll let this account through.

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by lelanthran on Sunday June 21, 2026 @11:11AM (#48619621)
It's like you are not even reading what is being said to you. You can't find the downstream effects using grep!

You can find the "strncpy"s with grep, but you cannot find all the downstream effect of those changes, especially if something downstream is relying on the broken behaviour!

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl2 on Sunday June 21, 2026 @11:23AM (#48619732)
Right. I am not claiming Claude Code creates perfect software. I am refuting your claim that using it would be cost prohibitive.

I took the 10 most difficult patches from the git history - the ones that took the most back-and-forth to fix. I asked Claude to write them. Would you like to see the work?

If you believe a human performs better at finding downstream effects - you need to prove that. I see no reason why it should be true.

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by lelanthran on Sunday June 21, 2026 @11:36AM (#48619834)
> If you believe a human performs better at finding downstream effects

Once gain, you are not reading what is being said - no one made that claim!

No claim was made in fact: it was a refutation. Specifically, the refutation is "this is why it took so many years".

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl2 on Sunday June 21, 2026 @11:51AM (#48619949)
> no one made that claim!

You did not literally make that claim but your cost argument hinges on it.

Without it, then Claude does about the same as a human and only costs $100.

Not cost prohibitive.

Re:Linux Eliminates the Strncpy API After Six Years of Work,... by qarl2 on Sunday June 21, 2026 @10:59AM (#48619524)
I looked at the git history. The first three years were wasted waiting for a human to pick it up. He then very slowly submitted patches over 1 year.

Claude Code doesn't need to be interested to work.