frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

The use of LLM assistants for kernel development

https://lwn.net/Articles/1032612/
29•Bogdanp•8h ago

Comments

lukeh•3h ago
I used Claude Code to review a kernel driver patch last week. If found an issue that was staring me in the face, indeed one I would’ve expected the compiler to flag.
vhantz•1h ago
Link to the patch and details on the issue the compiler missed that was found by the model or it didn't happened.
lukeh•47m ago
Sure. It was an uninitialized variable in the retry loop below. Fixed now.

https://github.com/PADL/linux/commit/b83b9619eecc02c5e95a1d3...

senorqa•1h ago
> The copyright status of LLM-generated code is of concern to many developers; if LLM-generated code ends up being subject to somebody's copyright claim, accepting it into the kernel could set the project up for a future SCO-lawsuit scenario.

Ain't that anticipatory obedience?

DiabloD3•37m ago
Yes, but two fold.

There is no reason why I can't sue every single developer to ever use an LLM and publish and/or distribute that code for AGPLv3 violations. They cannot prove to the court that their model did not use AGPLv3 code, as they did not make the model. I can also, independently, sue the creator of the model, for any model that was made outside of China.

No wonder the model makers don't want to disclose who they pirated content from.

kabes•26m ago
Isn't it up to you to prove the model used AGPLv3 code, target then for them to prove they didn't?
felipeerias•1h ago
This is a very informative article, a good starting point to understand the complexities and nuances of integrating these tools into large software projects.

As one commenter notes, we seem to be heading towards a “don't ask, don't tell policy”. I do find that unfortunate, because there is great potential in sharing solutions and ideas more broadly among experienced developers.

rvz•35m ago
This is a great article in discussing the pros / cons in adopting LLM-generated patches in critical projects such as the kernel. Even some of the comments give their nuanced observations on this, for exammple the top comment gives an accurate assessment of the strengths and limitations of LLMs perfectly:

> LLMs are particularly effective for language-related tasks - obviously. For example, they can proof-read text, generate high-quality commit messages, or at least provide solid drafts.

> LLMs are not so strong for programming, especially when it comes to creating something totally new. They usually need very limited and specific context to work well.

The big takeaway is regardless of whoever generated the code: "...it is the human behind the patch who will ultimately be responsible for its contents." which implies they need* to understand what the code does with no regressions introduced.

I'm too dumb for Zig's new IO interface

https://www.openmymind.net/Im-Too-Dumb-For-Zigs-New-IO-Interface/
38•begoon•1h ago•9 comments

Show HN: JavaScript-free (X)HTML Includes

https://github.com/Evidlo/xsl-website
129•Evidlo•12h ago•62 comments

Shader Academy: Learn computer graphics by solving challenges

https://shaderacademy.com/
111•pykello•2d ago•22 comments

I run a full Linux desktop in Docker just because I can

https://www.howtogeek.com/i-run-a-full-linux-desktop-in-docker-just-because-i-can/
97•redbell•3d ago•46 comments

Measuring the environmental impact of AI inference

https://arstechnica.com/ai/2025/08/google-says-it-dropped-the-energy-cost-of-ai-queries-by-33x-in-one-year/
106•ksec•4h ago•51 comments

My tips for using LLM agents to create software

https://efitz-thoughts.blogspot.com/2025/08/my-experience-creating-software-with_22.html
61•efitz•6h ago•27 comments

Nitro: A tiny but flexible init system and process supervisor

https://git.vuxu.org/nitro/about/
180•todsacerdoti•12h ago•62 comments

The first Media over QUIC CDN: Cloudflare

https://moq.dev/blog/first-cdn/
218•kixelated•13h ago•95 comments

The theory and practice of selling the Aga cooker (1935) [pdf]

https://comeadwithus.wordpress.com/wp-content/uploads/2012/08/the-theory-and-practice-of-selling-the-aga-cooker.pdf
23•phpnode•2d ago•11 comments

Top Secret: Automatically filter sensitive information

https://thoughtbot.com/blog/top-secret
89•thunderbong•1d ago•8 comments

Glyn: Type-safe PubSub and Registry for Gleam actors with distributed clustering

https://github.com/mbuhot/glyn
46•TheWiggles•9h ago•8 comments

A visual history of Visual C++ (2017)

http://www.malsmith.net/blog/visual-c-visual-history/
37•rayanboulares•4h ago•20 comments

FFmpeg 8.0

https://ffmpeg.org/index.html#pr8.0
794•gyan•16h ago•178 comments

Lightning declines over shipping lanes following regulation of sulfur emissions

https://theconversation.com/the-world-regulated-sulfur-in-ship-fuels-and-the-lightning-stopped-249445
31•lentoutcry•4d ago•5 comments

The use of LLM assistants for kernel development

https://lwn.net/Articles/1032612/
29•Bogdanp•8h ago•8 comments

Japan city drafts ordinance to cap smartphone use at 2 hours per day

https://english.kyodonews.net/articles/-/59582
84•Improvement•5h ago•59 comments

From M1 MacBook to Arch Linux: A month-long experiment that became permanenent

https://www.ssp.sh/blog/macbook-to-arch-linux-omarchy/
78•articsputnik•3d ago•103 comments

Computer fraud laws used to prosecute leaking air crash footage to CNN

https://www.techdirt.com/2025/08/22/investigators-used-terrible-computer-fraud-laws-to-ensure-people-were-punished-for-leaking-air-crash-footage-to-cnn/
161•BallsInIt•7h ago•72 comments

Popular Japanese smartphone games have introduced external payment systems

https://english.kyodonews.net/articles/-/59689
121•anigbrowl•7h ago•62 comments

Leaving Gmail for Mailbox.org

https://giuliomagnifico.blog/post/2025-08-18-leaving-gmail/
245•giuliomagnifico•14h ago•263 comments

LabPlot: Free, open source and cross-platform Data Visualization and Analysis

https://labplot.org/
217•turrini•22h ago•37 comments

Embedding Text Documents with Qwen3

https://www.daft.ai/blog/embedding-millions-of-text-documents-with-qwen3
6•kiyanwang•4d ago•1 comments

Bluesky Goes Dark in Mississippi over Age Verification Law

https://www.wired.com/story/bluesky-goes-dark-in-mississippi-age-verification/
142•BallsInIt•8h ago•58 comments

Launch HN: BlankBio (YC S25) – Making RNA Programmable

51•antichronology•14h ago•25 comments

Why is this hard?

https://programmersstone.blog/posts/why-is-this-hard/
38•Bogdanp•2d ago•11 comments

The issue of anti-cheat on Linux (2024)

https://tulach.cc/the-issue-of-anti-cheat-on-linux/
111•todsacerdoti•1d ago•206 comments

Now, Together

https://natashajaffe.substack.com/p/now-together
11•mooreds•2d ago•1 comments

Transcribe music in abc with syntax highlighting

https://fugue-state.io/app?project=24024aab-22f1-43cc-abef-c1647cc59597
18•jonzudell•9h ago•7 comments

Closing the Nix gap: From environments to packaged applications for rust

https://devenv.sh/blog/2025/08/22/closing-the-nix-gap-from-environments-to-packaged-applications-for-rust/
65•domenkozar•15h ago•27 comments

It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F".length == 7 (2019)

https://hsivonen.fi/string-length/
166•program•1d ago•233 comments