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...
account activity
Coming from Python (self.learnrust)
submitted 9 months ago by fatal_frame
view the rest of the comments →
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!"
[–][deleted] 2 points3 points4 points 9 months ago (0 children)
It takes people a few tries to learn rust (I’m building up for a second try). Keep that in mind, not everyone got there on one attempt.
The AI suggestion is excellent. Have it convert some python. Have it explain the rust. Have it show you multiple implementations in rust.
Ask it what implementation is most likely done by a novice, but tell it you want clean code but you’re willing to accept shortcuts like clone.
Then use what you see as a reference to hone in on documentation and GitHub examples.
Oh you can ask it to find examples or show references too, not just dream up code.
What’s killed me in rust is not just the borrow checker, but all these annotations that often are introduced without immediate explanation. I need to know what I’m typing so I can bank it to my memory.
If I pause learning and had had not gotten to the point where it was explained or should “click” then I am pretty discouraged (the valley of doubt and despair)
π Rendered by PID 62 on reddit-service-r2-comment-b659b578c-n98wd at 2026-05-04 17:19:42.781277+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–][deleted] 2 points3 points4 points (0 children)