r/osdev • u/Glum-Cook-9438 • Aug 22 '26
About using AI to develop operating systems
I know many of you guys are recently against all this "AI slop", was i too, but leave alone the "hype" and the "no AI bullshit" slogans, what do we actually mean by saying "AI slop"?
Cause to this day , I don't quite understand what all the drama is about and why posts that explicitly use "No AI used/no AI bullshit" get significantly more attention, i admit that even i made a post like that, but it's not that I completely didn't use AI, i did, however I also did a lot of the programming by myself, I think AI is a great tool that has helped me learn a lot and automate build scripts, there is no shame in using AI as long as you carefully review the code and do some programming by yourself, there is already great use of AI in the industry, Linus torvalds recently fixed a linux bug with AI, so what is really considered "AI slop"? Is asking codex to make a build script so I can focus on the code "AI slop"? Is asking Claude to summarize PCI device and vendor names in one files so I don't have to read documentations for hours "AI slop"? With all due respect I do think using AI blindly is bad of course, but I also wanna know what some of you guys mean when you say "AI slop operating systems"?
7
u/soundman32 Aug 22 '26
Just build it. Who cares as long as you enjoy it. 5 years ago it would take you months of study and graft and failure to get past a boot loader. Now AI will get you to a CLI in 2 hours.
10
u/36165e5f286f Aug 22 '26
Firstly, AI is indeed bullshit.
Furthermore, OSDev used to be a hobby. If you don't like reading specs and learning how everything works and just want to use AI to "get to the CLI in 2 hours" then this is basically pointless. OSDev is supposed to be a long term project that you actually enjoy building every single part of. For me, using AI for OSDev is the same thing as ""Artists"" using Suno to ""create"" songs by ""themselves"". This is why No AI projects get significantly more attention, they get attention from the actual real community not the AI newbies that flood every single existing community with AI Slop. Slop because most of the time the code, architecture is literally slop.
Using AI for research and some precisions is of course completely acceptable.
2
u/kiderdrick Aug 22 '26
> Cause to this day , I don't quite understand what all the drama is about and why posts that explicitly use "No AI used/no AI bullshit" get significantly more attention
This is a hobbyist forum and hobbyists tend to like when things are done in more hands on ways. I am sure you will see a similar type of thing in automotive subs. People who rebuild their muscle cars engines by hand get a lot more respect than those who outsource it to a shop.
> I think AI is a great tool that has helped me learn a lot and automate build scripts, there is no shame in using AI as long as you carefully review the code and do some programming by yourself,
What is the purpose of using AI to build something complex that uses a bunch of technologies and makes a bunch of decisions that the user does not understand? Why should you, as one of many people doing the same thing, get credit for a project that you had little to no insight in? It's like you are assembling a puzzle and bringing it to an art community and saying "look at my wonderful painting". You didn't paint that.
> Linus torvalds recently fixed a linux bug with AI, so what is really considered "AI slop"?
The people who are posting their all in one claude designed AI repos are not Linus Torvalds.
> Is asking codex to make a build script so I can focus on the code "AI slop"?
Yes, if it does a lot of things unnecessarily and inefficiently. If it builds your project in a way that is useful, and you work around the edge cases with tweaks, then it would not be slop.
> Is asking Claude to summarize PCI device and vendor names in one files so I don't have to read documentations for hours "AI slop"?
It might be, so you better double check what you are reading to make sure you are not reading incorrect data.
> but I also wanna know what some of you guys mean when you say "AI slop operating systems"?
Simple. Find the parts of your system that were built with AI and instead of describing your work flow as "using AI" describe it as "paid someone to do this". Then, evaluate your project.
"I built an x86_64 OS with FAT32 support using AI" becomes "I built an x86_64 OS with FAT32 support by paying someone to do it". Not really something to brag about is it?
3
u/r_a_dickhead Aug 22 '26
I understand your point of view. But people here usually say don't use AI because it's kind of a slippery slope for beginners, where they reach a point where the entire 'os' is made by ai and they have no idea what happened. I know how shit the build system is and I personally use AI for cmake scripts all the time cause I just don't think it's worth the trouble dealing with all that crap. Its your OS so why use AI as much or as little as you want as long as you believe you are learning everything and enjoying the process.
2
u/StunningSelection726 Aug 22 '26 edited Aug 22 '26
This is not a bad way to use AI. You are using AI to automate boring stuff and doing the programming yourself.
You can do this but I would not take what claude says as completely correct, I would still consult to the official documentation at the end (but with context from the AI so its easier to research) since its a niche topic the AI can always make up things that sound very believable. One can use AI to summarize long/hard to understand documentation or review code since AI is good at spotting small mistakes (though you need to know what you are doing since sometimes they just lie and make up stuff and act like its a critical bug).
Most people here are talking about completely vibecoded projects when they are referring to "AI Slop". Where a beginner is talking about their new modern operating system and the only thing it does is write to a framebuffer...
So, I agree with you, and no, I wouldn't call your project "AI slop". It looks fine to me. Don't listen to other people that are all "No AI at all!" they can do what they want but don't let that affect your workflow. If you are still writing code yourself, and using AI as a tool then you are doing fine.
Small tip: For complex projects you can use CMake/Meson instead of makefiles and shell files. They are much better to work with, especially CMake since most text editors/IDE's have pretty good integration for it.
2
u/Special_Rice9539 Sep 04 '26
Part of the problem is that the old-school dev culture is very resistant to change, and that's actually a weakness because you should be embracing new technologies like AI. The fear of AI automating operating development is also unfounded, just because operating systems are so complex and there's so much, unlimited depth that you can go into with them.
Even if you use AI to automate the beginning portions of the project, there's pretty much unlimited work that you can do on top of that: planning, design thinking, and considerations that you can make. Just think about the hundreds of millions of lines of code involved in making Windows. If you're worried about your toy project foundation being made with AI, do not worry. There's still tons for you to use your human brain for.
1
u/TheRainbowCock Aug 22 '26
My two cents on this. I did a experiment with this idea on how much can be done/ what's my or the AI limitations on building the OS. I built a small OS in Rust for a R36S handheld just to have something I didn't care about being wiped over and over. It did a solid job as I explained multiple concepts to it like having a file system, implementing threading and multitasking, making the kernel have a hard app kill button, adding basic error handling, etc. It did a solid job but frequently would break the image it was building, or when troubleshooting a new feature it'd get caught in a loop and waste time on something it made a issue and not me. I got 4 emulators ported and a bunch of python games ported and rewritten in Rust as well. It's impressive what it's able to do but reading it's output it did just frequently go "Well how does Linux handle this?" And implemented it the same way. It felt like I was just having it rewrite a bare minimum Linux Kernel than it figuring anything out on its own.
1
u/doscore Aug 23 '26
I'd use the term ai slop for social media and vibecoders that build stupid websites thinking they're going to be rich but have absolutely no idea about security, privacy acts and legislation etc.
Ai is a great tool and Its been a great research tool and helped me understand operating system concepts and helped debugging issues I've been stuck on for a while.
I think the worry here is that everyone's just going to spit out unfocussed garbage that have not been researched, planned and probably isn't documented at all for anyone to understand their os without reading 500k lines of code generated in 4 weeks.
1
u/[deleted] Aug 22 '26
[removed] — view removed comment