This is a seriously weak and narrow argument. First off, the parallel drawn with existing tools is shallow. When was the last time an editor or a compiler promised to replace employees? Which of those notably accelerates climate catastrophe? Which one of those is the biggest theft of labor in the history of humanity? Everything is political. Externalizing the social and environmental cost of the major LLMs is taking a clear stance in favour of the late stage capitalistic tech empires currently taking shape.
You can’t really control the use of tools though, that is the problem. AI detection doesn’t work and leads to a lot of false positives. The only thing you can do is check if the product is good.
AI is horrible for the world but it is impossible to ban it for coding, as you can easily submit AI generated code that looks human.
He is not comparing the effects that tools have but that you can’t control if someone uses them or not.
The only way I see for controlling the way AI is used, is if the AI companies put restrictions on it.
If you ban AI, the vibe coders will just lie about the origin of their code.
deleted by creator
You’re correct but still completely missing the point.
The only way to implement anti-LLM rules is to detect AI-assisted code. That, in and of itself, is a problem because it’s impossible to detect good code that was AI assisted. And you don’t need rules against slop because it’s bad code.
If I’m following it correctly, Linus is advocating for tightening submission requirements before it gets to human review, which directly targets the harms FOSS projects are having under the deluge of slop: it raises the bar so that the slop needs to be good enough to warrant a review, which filters out must of the noise, leaving more of the signal.
Anti-LLM policies are like having closed-book take-home exams: you’re left wildly guessing what’s cheating (or not). Instead, make the exam open book, but expect better answers.
Linus also says AI is a useful tool, and he is an expert, so we must accept that he feels that way. I don’t know if he’s commented on the environmental/social/political consequences of AI hyperscalers, but that’s a separate argument.
The tech is here. It’s impossible to detect. It’s foolish to think you can ban it’s use
And it can be run locally, so there’s no stopping it, even if there was political will to do so. (And with a reasonable economic and ecological cost, no less—ignoring IP/political consequences here, since that’s a whole other topic.)
deleted by creator
I think AI needs to be regulated on a larger scale. The tools need to be restricted if you want to stop people from using them.
Putting up rules against tool use without making access to the tool more difficult are worthless.
Putting up slop PRs doesn’t have to be intentional from the authors side.
How would you check commits for AI use if it is not mentioned anywhere? How would you enforce anti-AI rules?
deleted by creator
On the small scale the good faith approach works. But on the scale of the linux kernel it would have minimal to no effect to ban AI contributions.
For the code quality it’s better to enforce proper reviewing and checking of the code instead of banning specific methods of producing code.
Banning AI is as enforceable as banning vscode.
I myself don’t use ai in general and I despise the attitude towards ai of some people in the community but I don’t think banning ai on this side of the problem has any effect on the code quality and the way things are contributed. I think ai needs to be regulated on a government level. Like removing datacenters or financing of ai companies, which both can also be done on a local government level.
deleted by creator
The last paragraph of the screenshot is problematic regardless though.
AI detection doesn’t work and leads to a lot of false positives
Anthropic have begun watermarking their outputs (which is possible thanks to EU legislation) so yes you can detect ai output.
Most ai output has been watermarked since I think 2023, Anthropic is just more open about it.
I am pretty sure this still produces too many false positives when applied to code because of the way these watermarks are implemented. I am not 100% sure on that though. It could be used on commit messages though.
Nah the EU legislation made it so that it has to be watermarked (LLM output was not watermarked until that passed, it was just image and music output) and discernible with a tool to tell. So you can check if something is AI generated. Anthropic says it should work on code.
deleted by creator
Lol, I could kind of understand (not really support) his use of AI. While I doubt it’s something you can do for long without starting to make compromises, people who were a really good programmers before will probably use it responsibly for a while, until their skills inevitably erode and (more importantly) their willpower slowly runs out.
But this argument made me loose all my respect for him. It’s so utterly stupid. I hate it when i have to check my assembly code line by line, because it’s not guaranteed that the compiler will compile the same code I’ve written deterministically, and basically just randomizes what it outputs. Or when my editor does not save what I typed, and instead decides based on a random language statistics what to actually save, so I have to double-check my text word-by-word every time.
Oh, wait. No, because the tools are deterministic, and that doesn’t happen. But of course, adding randomness into your workflow, where you have to focus and review everything line-by-line, is the same as using deterministic tools, lol.
Removed by mod
“Deterministic” compilers and reproducible builds are actually fairly difficult problems. (Yes I know technically the compiler is deterministic, but AI is also technically deterministic since you can set the seed).
It’s not just about being deterministic. A compiler crucially follows clearly defined formal rules on what is a correct output given some input, which the programmer can fully rely on.
Removed by mod
Removed by mod
You can add deterministic testing to AI output though?
Wouldn’t it be just… writing code yourself? It’s just instead of writing what you want directly you are writing tests for it.
Removed by mod
If you are generating tests with an LLM, it’s not deterministic.
Also, have you actually read anything an LLM wrote that’s longer than a hundered words? It’s usually immediately obvious. In the open source world things I keep seeing are exchanges like this one. And Niri is a fairly good case with it’s maintainer actually reading the PRs and catching all the bullshit that an LLM spits out. Very often nowadays people will also do reviews with an LLM and this sort of stuff will just accumulate in the codebase with nobody to reject it.
But even if it was as useful as big tech paints it to be, I’ll always be against using it based purely on morals. There is an enormous number of issues in that regard, most importatnly LLMs literally kill people both directly and indirectly. Condoning the adoption of this technology is either being ignorant or misanthropic.
Removed by mod
Why the are you getting more text than you can physically review at your job? That sounds like a recipe for poor reviews. How are you sure LLMs are not missing anything if nobody actually has the time to read through all the text? Why does the text that gets to a developer contain logical mistakes in the first place? Back at my last job we had people assigned to collecting feature requests, talk them through with whoever wanted the feature implemented and produce proper specifications that developers would implement without wasting time on specifications containing garbage.
As does nearly every activity of life, both in human society and the natural world.
Yea, all people who drank water died. Not a very good argument. Most things don’t have a mental disorder named after them. If I leave a webpage with a calculator running unattended it won’t magically persuade a random visitor into commiting suicide. Webpages with LLM-powered chatbots are doing just that. You may choose to neglect it, but to me it sounds like adding lead to your gasoline. Yea, your car runs better. Are you sure it’s worth it, though?
Removed by mod
Simple questions to an LLM like: “review this procedure, is it internally self consistent” will find issues, real issues - usually minor - but undeniable when you read the review, the problem it describes is absolutely present in the document, page 14 says “X” and page 23 says “not X” and the context is basically identical - so which are we really supposed to do: “X” or “not X”? Well, that depends. Depends on what? Additional context and detail that the already too long 50 page procedure doesn’t address.
lol and I find issues like this in LLM output of only 1 or 2 pages. LLMs can’t even be consistent across paragraphs, much less hundreds of pages of context window. what an insane claim.
Removed by mod
But you really should be writing those tests regardless of whether or not you or an LLM ends up writing the actual code. That helps ensure that the code actually does what you think it does, and prevents bugs or unintended changes in behavior from sneaking in later when something changes
Well, depends. My thousand-line pet project does not need any tests, it needs to be feature complete and never touched again.
Bigger projects are usually ones where multiple people are contributing and having code that practically nobody wrote there is a huge problem on it’s own in my opinion, even if it passes a number of tests. Good tests themselves are usually harder to write than the code they are testing, I am not sure if delegating the actual fun part of development to an LLM and doing “chores” manually is a good idea.
Indeed, my code has never been more rich in unit tests now that coding assistants make them so easy to add. If the coding assistant subsequently does something weird that changes program behaviour it knows immediately.
What do the tests do?
They check to make sure that the code continues producing the expected results. For example if I had some code that added up numbers, I might have a unit test that calls that function with the parameters “2” and “2” and checks to make sure the result is “4”. If something changes that makes it start returning something else then a flag is immediately raised.
Are these tests written by AI? Have you reviewed the tests? Do they cover all code paths and all the possible inputs and outputs? Do the tests have requirements cited (traceability)?
Removed by mod
Absolutely not. In a world where hallucinating machines are writing code, humans should be writing the tests at a bare minimum.
AI writing code to pass tests written by AI will get people killed.
Removed by mod
where you have to focus and review everything line-by-line
Do you not think all code deserves this level of focus?
You do that inherently when you are writing the code. Every line you write has already had that focus, because you had to come up with it.
That you should also not trust every line of the compiled assembly after you wrote the code, and check it lime by line, is an extremely stupid argument.
Of course, you should get someone else, with a fresh/unbiased opinion to review your code too, but just the act of figuring out every line you write is in some sense a rewiev, that there is at least a plan or reason why it was written.
AI just randomly generates code without thought or reason, and you have to check everything. Unlike assembly generated from code.
That you should also not trust every line of the compiled assembly after you wrote the code, and check it lime by line, is an extremely stupid argument.
I guess it’s good that no one is making that argument then.
that is the argument linus is making… he is comparing a deterministic tool (a compiler that outputs the same assembly every time) to a non-deterministic tool and saying that they are the same type of tool. that require the same level of review, when they do not.
he is comparing a deterministic tool with a non-deterministic tool
Yes, but that’s not the argument Mikina was stating. Linus was never advocating for reading assembly line by line. Linus was using that as a satirical example, not suggesting anyone should actually do that.
Why does everyone who starts using AI always devolve into posting like this?
it’s crack for burnt out programmers who don’t enjoy the process of creating software anymore. You get to have results without putting in any work of your own. In corpo-world where everything is a metric, outputting massive amounts of code quickly and effortlessly is a great thing. For the others who actually enjoy making something it’s a useless tool.
I generally try to avoid using AI for my hobby projects, but I think there is still a niche for it in working out issues that take a disproportionate amount of time to track down manually relative to the scale of the fix. Things like a subtle typo somewhere or missing some hyperspecific nuance of whatever stack I’m working with. In those particular cases I would say it actually enhances my own creative ability insofar as I don’t need to spend hours of effort banging my head against a wall until I eventually figure out what went wrong, and I can put that time and mental energy into the stuff that’s actually interesting to me.
But yes, in general I do agree it’s kind of useless otherwise for creative endeavors or passion projects. It’s great for helping with code being written solely for a paycheck, but for personal projects it largely defeats the purpose of working on them in the first place. I think the trouble is that in general AI does make a lot of things easier and I have a lot of anxiety about getting into the habit of overusing it in that way, so I try to keep it as a sort of last resort.
Maybe because when they actually try them out they’re discovering that AI coding agents are pretty good?
They don’t even need to be pretty good. They just need to be better than the parade of absolute morons who couldn’t engineer their way out of a paper bag but think they are a Senior Developer because they managed to bluff their way through 3 years in an outspurcing company by cutting and pasting from Stack Overflow. They make up 90% of the software development workforce, and they are the ones that have been burning out the real Software Engineers since the day the first Bangalore development centre opened.
Thankfully, that bar has been crossed; AI is already at the level where you don’t have to explain to it what a semaphore is using stick figures and crayon - this is an absolute golden fucking era for senior engineers and architects.
Removed by mod
Probably because they get pissed off by the illogical anti-AI crazies.
This might get me banned here but I mostly agree with him
AI is a tool and the problem world wide is that nearly everyone is using the tool wrong
But used right, it can be a huge benefit. We know how deeply checked and tested all code is (who doesn’t remember the continuous Linus rants?) so why does it matter if submitted code covers a bug that was discovered through AI, or even written by AI? As long as the code checkers know and understand what happens, I dont see the problem with the code having been written by a tool
Obligatory AI doesn’t exist, its LLM’s, and LLM’s are tools, and tools are fine as long as you use them well.
If companies suddenly started making two meter long chainsaws and people started running around with these chainsaws cutting little girls in half, then yeah, people would rightly question if we shouldn’t ban those tools too.
Force AI companies to be responsible for how their products are used and wait to see how fast things would get better.
And for developers: as long as every commit is reviewed and checked by humans, to me its just another tool being used to make Linux better
For those arguing the water of energy and the theft of intellectual property, it’s the same point: governments need to put rules in place to control the stupid growth of data centers, AI companies must be held yo account for the data they’ve stolen, absolutely. However, that doesn’t mean that LLM’s are tools without any use
AI is a tool and the problem world wide is that nearly everyone is using the tool wrong
Maybe if the tool is so finicky that it’s practically impossible to get right, it’s a bad tool? For sure millions of programmers are just prompting it wrong… Can’t be that it’s just not as great a tool as the AI overlords claim
As long as the code checkers know and understand what happens, I dont see the problem with the code having been written by a tool
Until the code checkers resort to LLMs because the agentic coders submit so much code for review. I will just let AI run over this one time, what could go wrong? I’ll tell AI to generate test cases beforehand to make sure it gets the implementation right. Bad tests never lead to problems right?
Or maybe, just maybe people eating up a constant stream of propaganda produced by those whose whole financial future is tied to AI being the universal solution to every problem (and some they have to create in the first place) are indeed a problem.
Just because 24/7 advertising tells you to hammer in screws doesn’t mean it’s the smart thing to do. And neither does it show how useless a hammer is as a tool.
Removed by mod
Generated code was trully bad. These days? Not so much anymore…
Better tools, more acceptance.
Removed by mod
He’s right about the tool aspect of it, but, and I cannot emphasise this enough, it is not just a tool. Though we all bow (or salivate) before our fake materialist gods, and cast aside the beauty and relationships in the world, things are more than just their function.
AI is a tool and the problem world wide is that nearly everyone is using the tool wrong
Because the public discussion devolved into some insane fight between people ideologically against any AI (funnily often the argument “it’s stealing other people’s work” is coming from people that are fundamentally against copyrights in every other case) and some not less crazy people believing that AI is their new lord and savior (and a lot of them are paid or the followers to said paid influencers you just changed one idol (tech billionaires) to another one as instructed…).
It’s basically a mud fight between those believing that hammers are inherently evil and need to be destroyed and those that think everything in this world is a nail. Nothing in-between.
I think you are critically (I’m not saying intentionally) missing the middle ground in your assessment. Large generative models are great for repetitive, homogenous tasks like surveillance, speech recognition, assembly line quality control, etc.
If I try to look at it from your point of view, regarding creative tasks like developing new software, you have one side claiming that you can make hammers out of chocolate and throw away all your proper ones, and another that’s portrayed as being unreasonable for opposing that.
I’m not missing the middle ground. I am criticising that there is no middle ground in this fake discussion manufactured to keep engagement going.
Every single time someone makes a nuanced argument that is not matching one of the two dogmatic extremes (so exactly that Linus Torvalds is doing here, just –Linus being Linus– not very diplomatically phrased) the same kind of people start screaming about the end of the world (see again: this very thread where idiots express their condolences for Linus finally going insane by not denouncing AI alongside those praising the fact that he finally has seen the light an embraces AI as our saviour).
It’s so funny when they try to argue that the conditions around it are somehow different and make it unethical. Like yeah, I’m against fascism and climate change, but all our previous tooling was also built on unethical grounds, this isn’t any different. You like trains? The railroads were built by slave labor, extracting the fuel displaces indigenous people and hurts the environment, and folks like Carnegie used their train-powered wealth for their own personal benefit to the detriment of the public. Does that mean taking a train is unethical?
Things were bad before AI, so let’s make them worse.
deleted by creator
He’s drunk the AI Kool-Aid.
Removed by mod
wow… his ego is pretty big and bursting. Good thing that he evacuated his brain power to LLMs.
Well, it was nice while it lasted.
*slaps an orange flag over the tux sticker on my laptop*
2027 will be the year of the NetBSD desktop, guys!
I’m switching to haiku.
I plan to put Haiku on my old ThinkPad; but the lack of even a lock screen in the OS sadly makes it unsuitable for my main machine.
He’s been like this for a while now (at least a few months), I admit it affected my choice of OS for a new machine.
I use FreeBSD btw.
NetBSD hasn’t fallen into AI psychosis but it still has some slop in it.
Year of the GNU/Hurd desktop!NetBSD has one slop commit, and they have apparently since removed the code it brought in. Besides, I need some level of mainstream software support for uni, and pkgsrc is half-decent for that.
GNU Mach (a component of Hurd), meanwhile, have been using Claude for code reviews (https://lists.gnu.org/archive/html/bug-hurd/2026-03/msg00100.html, https://lists.gnu.org/archive/html/bug-hurd/2026-02/pdffAOvuZusjj.pdf); and the GNU Project itself is still on the fence (GCC, for example, has 57 slop commits and counting).
Comparing AI to traditional tools is a bad faith argument and it’s a bummer to see Linus fall for it.
For me the most criticism against AI is rather criticism against Big Tech. AI itself however doesn’t have to inherently come from Big Tech so banning it wouldn’t really be reasonable for something like the Linux Kernel.
It doesn’t inherently have to come from big tech, but currently there’s nowhere else to get it, soooo…
Maybe we ban it now and then revisit all this after small open source local models are actually useful for anything?
Not true. I’ve been coding for months now using only local models running on my own hardware. It’s perfectly adequate with the right harness.
Ok well that’s actually awesome!! But is that what these people are using in big important projects like the Linux kernel, or are they using Claude? I’m guessing it’s the latter, right?
Local models are capable of assisting coding in even enormous, complex pieces of software. That’s where having the right harness really shines - it provides the model with the tools it needs to focus in on just the bits of code it’s currently working on. Sort of like how a regular human programmer can do a much better job working on a large project with Visual Assist or equivalent in their IDE. I’ve also installed some tools like Context7 that provides the LLM with API documentation (no more hallucinated APIs) or Firecrawl (it can just go search whatever it needs like a regular person). It’s not so great at large-scale architecture questions, but that’s not what 90% of coding usually involves.
If you want a step up from what can run on just commodity desktops, some of the bigger models are also open-weight and a company or studio with a programming department could run one of those on their own hardware in the server room. GLM 5.3 is right up there next to Claude in the benchmarks, for example, and doesn’t take a data center to run.
Or you could go halfsies on the “big tech” thing and have an API subscription for a big model that your coding harness uses for doing the large-scale architecture planning and then hands off to small local models for implementing the plans the big model wrote. That’s a very common pattern too.
The key point is that there’s a lot of options here, it’s not “pay Anthropic or nothing.”
Of course! But also, AI shouldn’t be used to simply generate code. It should assist human developers into solving problems like figuring out why your code won’t build, or why certain errors occur or detect bugs.
Why? Because if everyone starts using AI to generate code, you lose experienced developers who will understand what’s happening in the first place. You lose the expertise. And that’s a big problem.
Yeah, and as I understand it that’s what Linus wants people to do. So banning AI would not allow this to happen when working on kernel code.
Don’t compilers have some guarantee of behaviours? I.e even if you don’t know exactly what instructions and order the compiler generates there is a guarantee that it is computationally/mathematically equivalent to the statements you wrote. Otherwise it would be a pretty terrible compiler. That’s a pretty big jump to writing instructions you don’t understand, since LLMs can’t make the same guarantees about a prompt/request.
Yes, they are deterministic. LLMs are not.
I am curious about the downvotes; what I said is factual. LLMs use random numbers in deciding output, so they are not deterministic.
Tell me you weren’t around for the early days of compiler development without telling me you weren’t around for the early days of compiler development…
(Actually, for niche architectures LLVM is also pretty bug-riddled. Maybe with AI we can finally fix some of that.)
What was the non-determinism in compilers? Honest question. Like, where does it comes from?
If you had a bug in a compiler, and a code that caused it, would it, for the same input and architecture only show some of the time? Does it included randomness in how it handles output?
Being bug-ridden is not the same as non-determinstic, if you can reproduce the bug everywhere and thus fix it, so I’m honestly curious where would the non-determinism of compilers come from.
Firstly, non-determinism isn’t nearly the gotcha you think it is - it’s trivial to make an LLM deterministic by just passing one parameter to the inference engine.
Secondly, nothing is non-deterministic in a strict sense on any traditional computer architecture (including the ones LLMs run on). Given all the inputs, and all the algorithms I can recreate the output; what makes the output ‘non deterministic’ is the complexity of the input and the feasibility of doing that. Frankly, compilers come pretty close to reaching the necessary complexity to be practically non-deterministic; anyone who had never spent days banging their head against code that works perfectly with debug enabled but fails utterly when compiled with release optimisations, but only when two logically entirely unrelated pieces of code happen to be written in a particular order, and then only if interrupts are enabled on the target… Well, anyone who hasn’t been through that has no business calling themselves a software engineer - and certainly no business telling other software engineers what tools they are allowed to use.
Honestly, a bunch of wets brought up on PHP and Javascript and managed runtimes now thinking they’re qualified to dictate what Real Programming entails is just laughable.
Frankly, compilers come pretty close to reaching the necessary complexity to be practically non-deterministic; anyone who had never spent days banging their head against code that works perfectly with debug enabled but fails utterly when compiled with release optimisations, but only when two logically entirely unrelated pieces of code happen to be written in a particular order, and then only if interrupts are enabled on the target… Well, anyone who hasn’t been through that has no business calling themselves a software engineer - and certainly no business telling other software engineers what tools they are allowed to use.
that is still deterministic… you don’t understand what deterministic means.
go ahead and show us an llm that is deterministic with a parameter passed to the inference engine. I’ll wait.
Reading comprehension not your strong point, huh?
Tell me, is it PHP or Javascript you’re l33t in? Actually, don’t bother… plonk.
Anyone claiming to do “real programming” shouldn’t be listened to. It’s incredibly clear you don’t know what deterministic means.
I don’t know… tools made by companies who can’t wait to get in bed with the Pentagon to kill brown people around the world would seem to be toxic af.
If we’re playing the altruism olympics game, everyone is already throwing stones in a glass house as it is, because virtually all electronics and batteries on Earth are made from materials mined by forced/child labor.
Yes, but… here comes the next squeeze. I know that they would sell us the rope to bang them with, but god damn.
Surely the Linux kernel gets used by those same organizations too, in some way
Don’t call me Shirley, though
I love how people with a fraction of his development experience are shitting on him now because his opinion on an aspect of development doesn’t align with theirs.
It’s because he’s making a poor argument, as explained better by others throughout this thread.
AI will come for Linus too someday.
LLMs aren’t new or interesting.
Linus being Linus :)


















