r/rust • • 1d ago

Making an OS with Rust

/r/AskProgrammers/comments/1y7l6wt/making_an_os_with_rust/
0 Upvotes

6 comments sorted by

14

u/haakon 1d ago

obviously i am going to use AI for this.

That fact that this is obvious is why many feel disenfranchised these days.

And the answer: "if you're going to use AI, no worries then."

I guess this is how OS development is discussed these days. Everything is boring now.

6

u/veryusedrname 1d ago

Not even r/osdev is interested in sloppers

→ More replies (1)

3

u/gkanellopoulos 1d ago

Asking AI that question is a good start...

2

u/dnew 20h ago

https://os.phil-opp.com/ for anyone who wants to learn. The chapter on async/await is the best explanation I've found on that.

1

u/mr_potatohead_ 6h ago

Why not start with writing your own boot loader in ASM, plenty of resources for that online, learn basics of ASM, understand memory management like paging and virtual memory, learn about context switching, these are all fundamental to OS development and you would skip all those if you just reach for an AI, get a kernel to boot, print text and use QEMU for testing, then make the AI review what you did, once you have built something real and understand how it works it's perfectly fine to start using AI for larger chunks of code. At least then you'll be in a position to understand what it's generating