3/18/2026 at 5:39:48 PM
Better to link to the site itself, or one of the reviews?For an example of a review (picked pretty much at random) see: https://sashiko.dev/#/patchset/20260318151256.2590375-1-andr...
The original patch series corresponding to that is: https://lkml.org/lkml/2026/3/18/1600
Edit: Here's a simpler and better example of a review: https://sashiko.dev/#/patchset/20260318110848.2779003-1-liju...
I'm very glad they're not spamming the mailing list.
by rwmj
3/18/2026 at 5:48:35 PM
That is both really useful and a great example of why they should have stopped writing code in C decades ago. So many kernel bugs have arisen from people adding early returns without thinking about the cleanup functions, a problem that many other language platforms handle automatically on scope exit.by jeffbee
3/19/2026 at 7:59:25 AM
You don't even need an LLM for this stuff. GCC has the __cleanup__ attribute, and kernel static analyzers like Smatch have been catching missing unlocks for a decade now. People just ignore linter warnings when submitting patches, so the language itself isn't really the issue. The LLM is basically just acting as a talking linter that can explain the error in plain Englishby KurSix
3/19/2026 at 7:03:12 PM
Linux doesn't have any of: sufficient testing, sufficient static analysis, or sufficient pre-commit code review. Under those conditions, which I take as a given because it's their project and we can't just swap out the leaders with more tasteful leaders, adding this type of third-party review feedback strikes me as valuable. Perhaps, to your point, it would also be possible to simply run static analyzers on new proposed commits.by jeffbee
3/18/2026 at 6:34:06 PM
Must we do this on every thread about the Linux kernel?by overfeed
3/18/2026 at 8:25:26 PM
The beatings will continue until morale improvesby RobRivera
3/18/2026 at 9:45:11 PM
yeah but Linux is love, linux is life. if you really want to get the beatings going:Rust > C and GNU/Linux should be Rust.
by vpShane
3/19/2026 at 3:08:14 AM
Ironically C is safer than Rust (if you compile it with Fil-C)by Ferret7446
3/18/2026 at 10:50:23 PM
also vim > emacsby ugh123
3/18/2026 at 6:53:12 PM
[flagged]by richwater
3/18/2026 at 7:43:40 PM
This ought to help with that. https://thephd.dev/c2y-the-defer-technical-specification-its...by tigen
3/18/2026 at 8:40:11 PM
> stopped writing code in C decades ago.And what were they supposed to use in 2006? Free Pascal? Ada?
by nurettin
3/18/2026 at 8:53:18 PM
Someone suggested C++ and you should see the response from Linusby greenavocado
3/18/2026 at 11:10:33 PM
Of course I specifically avoided invoking that language's name within the context of kernel programming in fear of summoning a Linus.And he's so right. I didn't think like that back then, but new/delete (which have to be overloaded for kernel) behind allocators behind containers, vtables, =0, uninitialized members, unhandled ctor errors, template magic, "sometimes rvo", compiler hints, "sometimes reinterpret cast", 3rd party libraries, it would have been a disaster 20 years ago. Now he's being nice to Rust partially to spite that lang I love some more.
by nurettin