In September, AI generated code has made up 17.25% of all Linux Kernel patches
Posted by tosh 5 hours ago
Comments
Comment by AyanamiKaine 5 hours ago
While I code without the help of AI, sometimes I feel like I am being left behind.
Ohh you wrote only 400 lines today? I shipped a whole app while being in the gym... hits hard.
Comment by nhinck2 4 hours ago
Because after all this talk about being left behind and I see nothing to show for it.
Comment by ncphillips 4 hours ago
But this is anecdotal. It’s a team of senior devs who already knew the codebase well. We have a ton of detailed guidelines that make sure it’s writing code we deem acceptable. We review each others code, and get LLMs to review, a LOT.
Comment by dev_hugepages 5 hours ago
Comment by AyanamiKaine 5 hours ago
You don't want to know how often I heard: "But I saw on Instagram, with AI it can be done cheaper and faster".
The people that would pay me don't care for good docs, eyesore, or if the programmer actually knows how the app works. They care for how fast are you done? And how much does it cost?
Comment by SkiFire13 2 hours ago
And they are probably right. But they are probably also missing that this will translate to worse quality. You know, the classic "you can only pick two among good, cheap and fast"
Comment by Krei-se 4 hours ago
Comment by latexr 4 hours ago
You’re a doctor. What’s your reaction when a patient rejects your diagnosis due to something they saw on Instagram?
> The people that would pay me don't care for good docs, eyesore, or if the programmer actually knows how the app works.
Do they care for liability?
Comment by sysguest 4 hours ago
"since I can use AI to create this app this much, I'll pay you less"
"although current AI made this crap, it'll outpace you eventually, so I'll pay you less"
Comment by piva00 4 hours ago
In general AI is an assistance, it doesn't replace the intellectual work that is needed for a good implementation.
In my opinion, approach it like you'd approach any other tool: there are good use-cases for it while being definitely not the right tool for other cases.
Comment by buryat 4 hours ago
Comment by sheepscreek 4 hours ago
As a professional programmer, you’re selling a service. The people buying your service have fully bought into AIs and accepted their shortcomings. You can’t fight this.
You can still scratch your itch with hobby apps, or contributing to human-first projects like Zig.
Comment by Krei-se 5 hours ago
Not sure why the next xy (already done) app has any economic value outside being a cheaper clone.
Still there is nothing wrong with having an AI point out problems which i assume is the case here and someone still is responsible and knowledgeable about the patched (!) code.
Comment by sieve 4 hours ago
Stands to reason though that someone who knows programming AND has domain knowledge can get LLMs to produce much better output compared to someone who does not.
I never used to have time to make all the stuff I needed or was interested in. With LLMs, I can.
This "shipped a whole app while being in the gym" does not work for me though. It takes me a couple of days to a week to produce solid, functional software (~10KLOC). Simple tools (3-400LOC)? Yeah, those you can produce in 30-60 minutes.
Comment by borzi 4 hours ago
Comment by reacharavindh 4 hours ago
There will always be people who push the extreme limits of either way. “I will not use AI for anything!” Vs “I will vibe code this while I’m at the gym”.
The winner is the one that knows when and how to use AI as a _tool_ and focus on the better outcome.
Comment by INTPenis 4 hours ago
Sooner or later you'll end up troubleshooting something you just don't understand.
And the tricky part about AI is that it only has to make one bad decision confidently, to then base all future decisions on that one bad one.
Comment by gitowiec 5 hours ago
Comment by AyanamiKaine 5 hours ago
Now LOC comes down to how much tokens you are willing to spend for a given day.
Comment by coldtea 4 hours ago
400 locs of critical C code, sure.
Comment by gitowiec 5 hours ago
Comment by sanswork 5 hours ago
Comment by hyper_frog 4 hours ago
Comment by sanswork 4 hours ago
When C and C++ came out we had a whole new class of problems too with people not using them correctly and over time best practices developed to make it safer and better quality. The same thing is happening today with LLMs.
Comment by latexr 4 hours ago
The cost is similar to doing any other task in a rushed, careless manner, with little regard for the consequences.
> sometimes I feel like I am being left behind.
And why does that bother you? “Forward” does not equal “good” or “desirable”. If a van is driving towards a cliff at high speed, would you not rather be left behind? “Being left behind” is a talking point to cause you FOMO, don’t fall for it.
Comment by pixel_popping 5 hours ago
It's not only about the pace, but also about the quality, most softwares have proven that not getting AI-reviewed is risky in its own, at least in the field of security.
Comment by AyanamiKaine 5 hours ago
I like programming, it fun! Using AI feels like I am optimizing the fun out of it. I learn so much about different programming languages and topics I would simply not learn when using AI. I also like learning things!
Comment by skort 4 hours ago
Oh and there are also the huge moral and ethical issues with the companies that offer LLMs.
Comment by close2 4 hours ago
Comment by coldtea 4 hours ago
You're more like a cobbler who adopted some new electrical tools for their craft, and feel smug against backwards cobblers using manual tools, while in the meantime the newer versions of those tools in the form of factory automation move in to make the whole craft obsolete.
Comment by Nursie 4 hours ago
But what is that cobbler supposed to do during that time? He can keep his head above water using the machine, suspecting the factory is coming for him too or ... he can refuse to modernise and fail now as others outperform him?
"Stop the factory being built" is not within his power.
Comment by coldtea 9 minutes ago
Optimally? Move to the best available trade that appears not to be deprecated for a good 50 years in the future, and in which they'd hire someone of his background.
Comment by skort 4 hours ago
Sure you can churn out more code with a LLM, but is it good code? Is it correct? If being left behind means I don't ship slop, I'll gladly bow out.
Comment by yayachiken 4 hours ago
You didn't say if you did, but just in case if you truly never had a serious look at LLM tools, you really need to step up. Never even trying something like Claude Code borders on negligence nowadays.
AI is still a bubble, but pretty much every software developer having a hard-dependency on these companies nowadays, is was sustains it. It sucks, but currently there is no realistic way around it.
Exceptions apply for data protection reasons, obviously don't upload all your personal data and business-critical intellectual property into some 3rd-party AI tool.
Comment by Ampersander 5 hours ago
Comment by simianwords 4 hours ago
Comment by bgregs 1 hour ago
Anecdotal, but the only people I've met who are truly excited about AI tooling were the lowest contributers prior to AI tooling becoming prevalent. The senior devs I interact with on a regular basis are largely negative on the trend, both for code quality issues and the burden it puts on them as reviewers. I can personally say that I am entirely burned out from reviewing the crappiest code I've ever seen, all day, every day, with no end in sight. When it takes less time to generate a revision than it does to review it, this is inevitable. Most people I work with have simply lowered their standards for code quality to meet management expectations for code velocity.
Comment by simianwords 1 hour ago
Comment by bgregs 53 minutes ago
I am not a kernel developer. That being said, I've been here for a bit and have worked across many different teams. Management communication and direction is not a secret here. It is well known what the expectations are for devs. I was directly told as much during a recent internal interview with a post-silicon team.
If my lack of direct kernel experience somehow negates the messaging and mandates from management that I see every day, then I guess there's not much more I can contribute to this discussion.
Comment by simianwords 41 minutes ago
The reason I asked you is because I already have anecdotes and real life data for CRUD devs.
I just can't fathom why people would be pressured to use AI. My hunch is that some people kind of begrudgingly admit that it actually makes people faster and they use it. These kind of people would rather like doing things a bit slowly.
Comment by bgregs 8 minutes ago
I completely agree!
> I just can't fathom why people would be pressured to use AI.
I can only speculate, and I obviously don't have any insight into why the mandates and usage targets exist, so I won't comment on that. I absolutely see value in using AI tooling as an additional validation step, but the generative side is what gives me pause. Maybe I've just seen too many cases of irresponsible use, but I'm not fully convinced that using the tools for _writing_ code produces better results.
You were right to callout the distinction, and my apologies if I responded too bluntly. One of your original replies referred to company mandates as "conspiracy theories", which is where my hesitation to engage came from.
Anyway, I think we're largely in agreement regarding your closing paragraph.
Comment by Ampersander 2 hours ago
Comment by simianwords 2 hours ago
Comment by Ampersander 1 hour ago
These things are what the pressure consists of. Some probably do feel pressured against their will. For some the encouragement changes their will. Some want to use it regardless of anything.
But whether you call it pressure, encouragement, or incentives, its there and it does affect how people think and act.
Comment by simianwords 1 hour ago
Comment by unified101 4 hours ago
Do linux devs live in a completely different microcosm?
Comment by sheepscreek 4 hours ago
Linux kernel is a huge project - with a lot of people volunteering. You’d be burning through a crazy amount of input tokens to gain enough context to get any work done. I doubt many volunteers pay for their own top-tier subscription plans that would be able to do so cost-effectively.
Comment by unified101 4 hours ago
More than that, I've not seen people do agentic coding in one part of their work, and manual coding in another. Is there any first hand account of someone doing this? It kind of rewires your brain, and makes it hard to do both at the same time.
Comment by pjc50 4 hours ago
(There are probably wider benchmarks, but this was a definite finding in our company wide evaluation of effectiveness. LLMs aren't great at RTL either)
Comment by bryanrasmussen 4 hours ago
Comment by lazycatjumping 4 hours ago
Comment by skort 4 hours ago
Comment by realusername 3 hours ago
No tests, not much documentation to work with, a very high acceptability bar, multiple ways to do the smallest change and every single word on your commit messages is very important.
You can start with a LLM but there going to be some manual modifications you will have to make, even with the best model available
Comment by ur-whale 4 hours ago
I'm curious ... how would they even know?
Comment by eyikhg 2 hours ago
Comment by Alifatisk 4 hours ago
Comment by easton 4 hours ago
(Which probably means this is slightly underreported from people not disclosing.)
Comment by rvz 4 hours ago
Does that mean we should stop using it?
Comment by TiredOfLife 2 hours ago
Comment by jan_m_savage 4 hours ago
Wait until it blows.
And I say this as someone who uses AI (for fun) and to check things I may havbe overlooked.
There's a place and time for everything. Using AI where you shouldn't is gonna backfire, big time.
Also, just please show me ONE single app/product that has been generated 100% by AI--that works and competes with human-written ones?
I'll be waiting, right here.
Comment by jan_m_savage 1 hour ago