posted in Technology
Linus Torvalds let Claude Code fix the Linux page cache. Then reviewers found a race.
They got to him
thenewstack.io/torvalds-claude-code-kernel/posted in Technology
Linus Torvalds let Claude Code fix the Linux page cache. Then reviewers found a race.
They got to him
thenewstack.io/torvalds-claude-code-kernel/Replying to @mannycalavera@feddit.uk
“but”? Isn’t that exactly what reviewers are for?
The actual news of the article: LLM helped do a significant piece of work that human developers had failed to do for two years.
Or rather, LLMs helped create bad code, and so didn’t do a significant peice of work - or did it so poorly it was dangerous to rely on for general use in an Operating system:
Race conditions in programming occur when multiple processes or threads attempt to modify and access shared data simultaneously, leading to unpredictable and unintended outcomes. They can result in data corruption, program failures, and other unexpected behaviors if not properly managed with synchronization techniques.
The work isn’t done if it’s introducing risky/bad code (especially at the level of an operating system). That’s like saying “LLMs cure cancer by cutting patients into quarters, human reviewers stop it”
Then someone claiming “the real story here is that LLMs cured cancer”.
Was cancer actually cured? The article doesn’t say the problem was fixed by the LLM. It says humans did the work of finalizing parts of it which had to be restricted to an experimental branch, and only operates on 64-bit machines.
Replying to @DarkCloud@lemmy.world
The same happens when humans write code. Reviewers hopefully find some of their mistakes, then they fix them
Replying to @boonhet@sopuli.xyz
Tell me then, was the problem solved, the work done by the LLM?
Was it considered good enough for a mainbranch?
Or was it faulty/risky and require highly trained experts to catch? Then flagged, and only put into an experimental branch?
How many ex-Oracle memory experts do you think are available for this work, in which even Linus didn’t catch the race condition?
“Hey guys, nothing to see here if we have enough high level engineers fixing everything”.
Replying to @DarkCloud@lemmy.world
At the end the only thing that matters is if this approach saved money/time compated to the opposite. If Linus keeps employing it, it works for him. He definitely isn’t an AI apologist, I think, so it’s not like he profits from speaking positively or negatively about AI