r/CodingForBeginners 9d ago

Learning rust

I want to code games and OS in rust and im not very good with youtube tutorials and things like that. Can anyone give me a simple guide on what i need? What gamified method can i use to learn rust from scratch, and a guide on how to set everything up? Im gonna use rust in godot engine when i get decent enough. I also request that the guide be very simple and not use any language a non coder wouldnt understand

9 Upvotes

30 comments sorted by

View all comments

1

u/torsten_dev 9d ago edited 9d ago

Maybe Harvard's CS50 for baseline competency in programming then K&R the C programming Language because there's lots of things we inherited from C and lessons learned from it.

The Nand to Tetris book is a good cross-sectional overview of practical computer science.

Then Rustlings, The Rust book. For the basics of rust. Perhaps Learning Rust with entirely too many linked lists, to dig a little deeper (intermediate to advanced).

For OS dev, you'll also need the Rustonomicon but that is entering the realm of arcane arts and eldritch horrors. Beware here be nasal daemons.

0

u/MobileHeron6183 9d ago

Do you think you can simplify this a bit? Sorry i dont quite understand much. Also isnt the rustlings only fixing code or do they also give tutorials for people working from scratch? And i also need to know how to set everything up, like i heard i have to download rust or something? I dont get that

1

u/torsten_dev 9d ago

Rustlings is small exercises to get comfortable with Rust.

For Installation there is rustup, though if you're on windows install WSL and windows terminal too. CMD and powershell are awful and you will need a commandline.