|
|
Log in / Subscribe / Register

Lower bar to start kernel development?

Lower bar to start kernel development?

Posted Aug 8, 2025 6:24 UTC (Fri) by gf2p8affineqb (subscriber, #124723)
In reply to: Lower bar to start kernel development? by SLi
Parent article: On the use of LLM assistants for kernel development

That is quite speculative. The recent rate of growth is no useful indicator for where it will eventually plateau. And right now LLMs are definitely subpar at many programming tasks (also other tasks).


to post comments

Lower bar to start kernel development?

Posted Aug 8, 2025 7:43 UTC (Fri) by Wol (subscriber, #4433) [Link] (3 responses)

The problem is if the LLM doesn't get it right FIRST TIME, and the person using the LLM doesn't have the experience to recognise this, then it's pretty much assured the result is going to be rubbish. And the chances of this happening with first time submitters is quite high.

At the end of the day, most of the stuff on the net is rubbish. The quality of what an LLM outputs is directly correlated to the quality that goes in (it must be, without human review and feedback, it has no clue). Therefor, most LLM output has to be rubbish, too.

If your AI is based on a SMALL Language Model, where the stuff fed in has been checked for accuracy, then the results should be pretty decent. I don't use AI at all (as far as I know, the AI search engine slop generally has me going "what aren't you thinking !!!"), but my work now has a little AI that has access to all our help docs and thus does a decent job for most people - except that as always, people don't think, and people keep getting referred to Guru docs for more detail - HINT roughly 1/3 of the company doesn't have access to Guru, as a matter of policy!!! Argh!!!

Cheers,
Wol

Lower bar to start kernel development?

Posted Aug 8, 2025 9:04 UTC (Fri) by jepsis (subscriber, #130218) [Link] (2 responses)

I don’t see any issue with a first-time user working with LLVM.

Here are some examples of useful prompts:

Is the naming of functions and variables consistent in this subsystem?

Are the comments sufficient, or should they be added to or improved?

If I were to submit this upstream, what aspects might attract nitpicking?

Does the commit message accurately reflect the commit, or are there any gaps?

Lower bar to start kernel development?

Posted Aug 8, 2025 9:32 UTC (Fri) by khim (subscriber, #9252) [Link] (1 responses)

That's not “ first-time user working with LLVM” (LLM, I assume?). That's “experienced kernel developer trying LLM”.

First time user request would be more of “here's the spec for that hardware that I have, write driver to it”. And then the resulting mess is sent to maintainer, warts, bugs and all.

Lower bar to start kernel development?

Posted Aug 8, 2025 9:43 UTC (Fri) by jepsis (subscriber, #130218) [Link]

That's not “ first-time user working with LLVM” (LLM, I assume?). That's “experienced kernel developer trying LLM”.

Sure. Good example. It would have been good to have that sentence checked by AI, as it would likely have corrected it.

Lower bar to start kernel development?

Posted Aug 8, 2025 12:33 UTC (Fri) by kleptog (subscriber, #1183) [Link]

One of the most promising developments I see for code LLMs is the switch to a more diffusion style. So rather than generating a sequence of words, it's working on a grid of characters like your editor and iterating over that in the same way that stable-diffusion produces images. This means it has a chance of "seeing" the code as a whole and making changes globally. And so noticing mismatches between different parts and aligning them in the next iteration. So more like how people code.

The step after that would be an LLM iterating over an AST so it doesn't have to worry about getting the syntax right, but I haven't read about that yet. It's not clear to me if that technology even exists yet.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds