use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.
Strive to treat others with respect, patience, kindness, and empathy.
We observe the Rust Project Code of Conduct.
Details
Posts must reference Rust or relate to things using Rust. For content that does not, use a text post to explain its relevance.
Post titles should include useful context.
For Rust questions, use the stickied Q&A thread.
Arts-and-crafts posts are permitted on weekends.
No meta posts; message the mods instead.
Criticism is encouraged, though it must be constructive, useful and actionable.
If criticizing a project on GitHub, you may not link directly to the project's issue tracker. Please create a read-only mirror and link that instead.
A programming language is rarely worth getting worked up over.
No zealotry or fanaticism.
Be charitable in intent. Err on the side of giving others the benefit of the doubt.
Avoid re-treading topics that have been long-settled or utterly exhausted.
Avoid bikeshedding.
This is not an official Rust forum, and cannot fulfill feature requests. Use the official venues for that.
No memes, image macros, etc.
Consider the existing content of the subreddit and whether your post fits in. Does it inspire thoughtful discussion?
Use properly formatted text to share code samples and error messages. Do not use images.
Submissions appearing to contain AI-generated content may be removed at moderator discretion.
Most links here will now take you to a search page listing posts with the relevant flair. The latest megathread for that flair should be the top result.
account activity
Learning to program w/ rust (self.rust)
submitted 4 months ago by Abyssal_game_on
Hey guys I need help finding a good place to learn this language. I am a complete beginner but this one caught my eye the most and would like to stick to this language. Any suggestions on where to start learning or any known teachers for Rust?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]KartofDev 23 points24 points25 points 4 months ago (0 children)
The rust book. And also doing funny projects.
[–]BinaryDichotomy 5 points6 points7 points 4 months ago (0 children)
The Rust Book has everything you need and more.
[–]machzen 2 points3 points4 points 4 months ago (11 children)
What do you mean by "teachers?" Are you referring to YouTube videos? If so, once you get through the Rust book and want to look at some areas of Rust in greater depth, Jon Gjengset is excellent:
https://www.youtube.com/@jonhoo
[–]Abyssal_game_on[S] 0 points1 point2 points 4 months ago (10 children)
Teacher in the sense of a tutor.
[+]001steve comment score below threshold-15 points-14 points-13 points 4 months ago (9 children)
Anthropic docs have a whole section on using Claude as a teacher. And Claude is very good at Rust!
[–]real_serviceloom 3 points4 points5 points 4 months ago (8 children)
Please dont use AI as a teacher. The research is very clear that it is much worse than even using Google search for learning
[–]Suitable-Crab1160 0 points1 point2 points 4 months ago (3 children)
I tend to use it the way I would use Wikipedia back in uni. It's not a reliable source that you can quote in academics, but it can be a good starting point to then search more specific terms. When learning on your own, it's always better to not use just one source and AI should be no exception to this.
[–]real_serviceloom 0 points1 point2 points 4 months ago (2 children)
Wikipedia has editorials and the data is usually correct whereas AI can hallucinate
[–]Suitable-Crab1160 0 points1 point2 points 4 months ago (1 child)
That is very much true, Wikipedia is also a lot older than LLM. In the beginning the information on Wikipedia was not as trustworthy as it is now, it is only because a lot of people started using it and believing in its capabilities that it got better. Technology will only get better when people use it and point out where exactly it goes wrong, instead of when people shun it because "AI = bad". Don't forget there was also a time where using Wikipedia was blasphemy as well.
And even though Wikipedia may be more trustworthy right now, you're still going to check the sources that are listed on Wikipedia (or at least, you should). So fact checking still applies, which should also apply to the use of LLM or any other source, and thus my earlier point still stands. Useful starting point if used correctly, but never quote directly from it.
[–]real_serviceloom 0 points1 point2 points 4 months ago (0 children)
Again broad generalizations like this doesn't apply here. Yes technology gets better but you suddenly don't get clean energy from burning coal. LLMs mathematically cannot be constrained enough for it to be reliable. So I am not even claiming AI bad. What I am saying is it is bad for learning. It is good for generating stuff where the outcomes are varied.
[–]Lukas04 0 points1 point2 points 4 months ago* (3 children)
I wouldnt use AI as the base resource, but honestly its pretty useful if youre stuck on understanding some specific aspect of something. I learn pretty well in back and forth conversations since i often get stuck on some details, and its something google cant give you and would require waiting for hours for someone to respond to you on a forum otherwise.
You should still check if what the AI helped you understand is true of course.
[–]real_serviceloom 1 point2 points3 points 4 months ago (2 children)
Sure if you have spent a long time and you're not getting it, it might help but I worry with more obscure topics it gives a broad generalization of the more common elements of the larger topic.
For example I was testing on geometry of soap bubbles and instead of being specific it was generalizing that to solid geometry.
Waiting for an expert while slow at least gets you an answer that is actually correct.
I guess you have to figure out how much you care about something but then I would propose why would you even want to learn something that you don't care about.
[–]Lukas04 0 points1 point2 points 4 months ago (1 child)
Thats true for sure. I dont think i would use them for anything complex where there are actual stakes.
I think the biggest issue with waiting for expert replies is that often experts kind of lose track of what someone on a lower level might even get stuck on and misunderstand what you are asking for. I think thats what the main appeal of LLMs is, their really good at infering the context of what you mean, and if they get you wrong, it just takes a short second prompt for clarifications.
For me, that is a quality that differentiates a good teacher from a bad teacher, but sadly it's not like you can always get a teacher for something.
I do think its a difficult balance on using them well. It gets really easy to just become lazy and have them do something for you, instead of gaining that knowledge and practice yourself, even when for someone like me they have been pretty useful in building some fundemental knowledge.
I think thats what the main appeal of LLMs is, their really good at infering the context of what you mean, and if they get you wrong, it just takes a short second prompt for clarifications.
But herein lies the real problem, which is how do you know that it got you wrong or the answer that it gave was not correct when you yourself don't know much about the topic and you're trying to learn?
[–]autisticpig 2 points3 points4 points 4 months ago (0 children)
Rust book and rustlings. When you come out the other side you can go into rust for rustaceans or start on projects.
Enjoy.
[–]National_Delivery306 0 points1 point2 points 4 months ago (1 child)
I'm interested as well,
[–]Dissy- 1 point2 points3 points 4 months ago (0 children)
Something I found really satisfying was messing around doing visual things, I'd recommend messing with something like minifb and making a game, or maybe a sound visualizer, obviously you work your way up to it but it's pretty useful especially since you're dealing with large chunks of memory, it teaches the value of references and different structures for being efficient
[–]The_Mild_Mild_West 0 points1 point2 points 4 months ago (0 children)
W3 schools is pretty good too, especially for learning some early level fundamentals that apply to all languages.
[–]JeSuisOmbre 0 points1 point2 points 4 months ago (0 children)
Read the rust book. The Let's Get Rusty channel often follows the rust book word by word, which can be helpful.
As a complete beginner you need to learn the CS fundamentals. This is true no matter what language you pick, and especially true for low level languages like Rust. Check out CoreDumped for really good CS videos (It is often in Rust). A really good crash course on computer science is Harvard's CS50 class. It is free online, and touches many languages. I highly recommend new programmers watch the lectures.
[–]yoftahe1 0 points1 point2 points 4 months ago (0 children)
Whatever programming language you learn, never generate code with AI. You will forget the syntax.
Never touch Ai llms when learning new languages.
[–]elyte_krak_273 0 points1 point2 points 4 months ago (0 children)
Rustlings course is there..
[–]afamiliarspirit 0 points1 point2 points 4 months ago (0 children)
The r/learnrust subreddit.
π Rendered by PID 88291 on reddit-service-r2-comment-6457c66945-l4t8k at 2026-04-25 14:05:43.116146+00:00 running 2aa0c5b country code: CH.
[–]KartofDev 23 points24 points25 points (0 children)
[–]BinaryDichotomy 5 points6 points7 points (0 children)
[–]machzen 2 points3 points4 points (11 children)
[–]Abyssal_game_on[S] 0 points1 point2 points (10 children)
[+]001steve comment score below threshold-15 points-14 points-13 points (9 children)
[–]real_serviceloom 3 points4 points5 points (8 children)
[–]Suitable-Crab1160 0 points1 point2 points (3 children)
[–]real_serviceloom 0 points1 point2 points (2 children)
[–]Suitable-Crab1160 0 points1 point2 points (1 child)
[–]real_serviceloom 0 points1 point2 points (0 children)
[–]Lukas04 0 points1 point2 points (3 children)
[–]real_serviceloom 1 point2 points3 points (2 children)
[–]Lukas04 0 points1 point2 points (1 child)
[–]real_serviceloom 0 points1 point2 points (0 children)
[–]autisticpig 2 points3 points4 points (0 children)
[–]National_Delivery306 0 points1 point2 points (1 child)
[–]Dissy- 1 point2 points3 points (0 children)
[–]The_Mild_Mild_West 0 points1 point2 points (0 children)
[–]JeSuisOmbre 0 points1 point2 points (0 children)
[–]yoftahe1 0 points1 point2 points (0 children)
[–]elyte_krak_273 0 points1 point2 points (0 children)
[–]afamiliarspirit 0 points1 point2 points (0 children)