AI tools in engine dev: Linus Torvalds' take (and my experience)

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Spunc595
Posts: 51
Joined: Mon Jul 06, 2026 12:15 am
Full name: Daniele Marpino

AI tools in engine dev: Linus Torvalds' take (and my experience)

Post by Spunc595 »

Hi everyone,

I found this interesting message by Linus Torvalds on the Linux kernel mailing list, where they decided to drop the mandatory "Assisted-by" AI tag. He compares banning AI coding tools to banning compilers and forcing everyone to write in assembly:

https://lore.kernel.org/lkml/CAHk-=whTs ... gmail.com/

His point is that what really matters is if the author understands the code, tests it properly and takes responsibility for it, not what tool was used to write the syntax.

I think this applies well to computer chess too. When I started working on my first engine Luna (named after my cat), I didn't know how to program at all, so I used an LLM to translate my chess ideas and tests into Rust code. Some people on Discord treated me like an impostor, which actually pushed me to study Rust for real, and now I'm writing a new engine and its NNUE from scratch by myself (Kłak, on GitHub).

Having tried both ways, I agree that nobody wants copy-paste clones or broken code, but an LLM can be a great bridge to learn and test ideas if the human behind it does the real work.

Curious to hear what other engine authors think about this.
Uri Blass
Posts: 11282
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: AI tools in engine dev: Linus Torvalds' take (and my experience)

Post by Uri Blass »

I think today the author does not need even to understands the code.

If the author ask AI to write code to do A,B,C and the author does not understand the code the AI give it to do it then everything is ok.

There is no copy paste if I ask AI to write some code to do A,B,C that other people did not do.
Ryan Benitez
Posts: 729
Joined: Thu Mar 09, 2006 1:21 am
Location: Portland Oregon

Re: AI tools in engine dev: Linus Torvalds' take (and my experience)

Post by Ryan Benitez »

The problem with LLMs is not people like you. I am happy that you have enjoyed the hobby and that the tools available to you have helped you learn. The problem is that LLMs took in essentially all of the free software available on the internet and trained on it to produce a non-free product. I happen to know of some massive corporations using LLMs for coding with less oversight than what I consider safe. When your junior developer types 10,000 words per minute you probably are not checking all of their work. This is an enormous amount of software that is being developed on ethically shaky grounds that is more unchecked than ever.
cpeters
Posts: 274
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: AI tools in engine dev: Linus Torvalds' take (and my experience)

Post by cpeters »

Uri Blass wrote: ↑Sun Dec 06, 2026 12:32 am I think today the author does not need even to understands the code.

If the author ask AI to write code to do A,B,C and the author does not understand the code the AI give it to do it then everything is ok.

There is no copy paste if I ask AI to write some code to do A,B,C that other people did not do.
To thin for my taste. If you'd have asked someone to write you something (think of music too) and you can't even understand the score, how on earth does make this (humminig the tune) an author/composer?

A composer taking shortcuts however? Maybe different matter.

But I think we're past this point, as folks are running since months through the streets: Me, me, me: I, I, I...created (for twenty €/month)...

Disgusting.
namahanna
Posts: 7
Joined: Mon Nov 16, 2026 3:31 am
Full name: Tony Harmelink

Re: AI tools in engine dev: Linus Torvalds' take (and my experience)

Post by namahanna »

This post has a nice spectrum on how people use them and the tradeoffs
https://dmitryfrank.com/articles/ai_for_coding_in_2026
We need to introduce some vocabulary as a basis for discussion. To use an LLM or not to use an LLM is not black-and-white, and I find it most useful to categorize it roughly like this:

(The levels are not discrete points, but rather useful anchors on a continuous spectrum)

vibezero: No LLM involvement at all. We just pretend it doesn't exist;
vibereview: All code is written manually, but LLM is used to review the code and point out issues (and the human, again, fixes the issues manually);
vibetyping: Most or all the code is written by an LLM, and the human reviews all of it, fully understands it, and owns the design and implementation;
vibejunior: Most or all the code is written by an LLM, the human understands and owns the design, but does not read most of the code;
vibefull: Everything is written by an LLM, the human only checks that it apparently works the way it's intended to work, and has no idea how it's implemented. Doesn't even have to be a technical person.