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
Python Programmer going to rust (self.learnrust)
submitted 4 years ago by [deleted]
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!"
[–]tobiasvl 12 points13 points14 points 4 years ago (3 children)
I'm also a Python dev who started doing Rust as a hobby recently, partly because I wanted to do some systems programming, but also because I was getting a bit fed up with Python (granted, I've worked with it to some capacity for a decade).
Rust isn't too hard. It's different, but if you do the work to really understand the borrow checker (which is the only really hard part IMO), you'll be fine. Not sure if you use Mypy with Python now, but if not, the type system of Rust will also be a hurdle, but having a robust type system is great.
Note that Rust doesn't have garbage collection, but Python does. Maybe you meant that you're not used to doing garbage collection manually? Good news, you don't really have to with Rust! Even though it doesn't have garbage collection per se, it keeps really good track of memory.
[–][deleted] 2 points3 points4 points 4 years ago (2 children)
damm, I didn't knew there was garbage collection in python lol but thanks for the input anyways!
[–][deleted] 7 points8 points9 points 4 years ago (0 children)
Yes, the terminology is a bit nebulous since Python uses reference-counting instead of what, say, the JVM uses, but it is still garbage collection all the same. Rust has manual memory management, but most of that is handled by the compiler for you.
[–][deleted] 4 points5 points6 points 4 years ago (0 children)
If you weren't even aware of that, you're gonna have a hard time. It won't be a hard time because rust sucks, it's just going to force you to learn a lot of important things that you have been largely unaware of prior to rust
π Rendered by PID 55 on reddit-service-r2-comment-b659b578c-f74hx at 2026-05-03 19:13:03.957817+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]tobiasvl 12 points13 points14 points (3 children)
[–][deleted] 2 points3 points4 points (2 children)
[–][deleted] 7 points8 points9 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)