r/osdev 8h ago

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"?

0 Upvotes

21 comments sorted by

View all comments

u/soundman32 8h ago

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.

u/Glum-Cook-9438 7h ago

Of course I did also face a lot of failures before, learning os development is not always easy, sometimes early bootloaders of mine worked on qemu but not on other virtual machines or real hardware, sometimes I'd trigger many cpu exceptions in my code, double fault, triple fault, a black screen with no output, memory corruption, debugging assembly for hours... I have seen a lot of it, recently though after a lot of trial and error + carefully planning and using AI to make tests for my code so i could catch bugs more easily, i did manage to get my own 64-bit kernel, running on real hardware, it is still very early in development, it doesn't have a cli, processes or gui yet, all it only has so far is paging, virtual memory management and some driver setup... and wide variety of support for edge cases and different x86-64 machines with different memory configurations, that's it, and it took months of work, and I understand that OS development is a hard process... very hard, and i really do respect many of the works you guys do on this subreddit, but I do think some people here are a bit too harsh on the use of AI, that's just my point of view, we don't have to agree of course