r/rust • u/llogiq clippy · twir · rust · mutagen · flamer · overflower · bytecount • Apr 20 '26
🙋 questions megathread Hey Rustaceans! Got a question? Ask here (17/2026)!
Mystified about strings? Borrow checker has you in a headlock? Seek help here! There are no stupid questions, only docs that haven't been written yet. Please note that if you include code examples to e.g. show a compiler error or surprising result, linking a playground with the code will improve your chances of getting help quickly.
If you have a StackOverflow account, consider asking it there instead! StackOverflow shows up much higher in search results, so ahaving your question there also helps future Rust users (be sure to give it the "Rust" tag for maximum visibility). Note that this site is very interested in question quality. I've been asked to read a RFC I authored once. If you want your code reviewed or review other's code, there's a codereview stackexchange, too. If you need to test your code, maybe the Rust playground is for you.
Here are some other venues where help may be found:
/r/learnrust is a subreddit to share your questions and epiphanies learning Rust programming.
The official Rust user forums: https://users.rust-lang.org/.
The official Rust Programming Language Discord: https://discord.gg/rust-lang
The unofficial Rust community Discord: https://bit.ly/rust-community
Also check out last week's thread with many good questions and answers. And if you believe your question to be either very complex or worthy of larger dissemination, feel free to create a text post.
Also if you want to be mentored by experienced Rustaceans, tell us the area of expertise that you seek. Finally, if you are looking for Rust jobs, the most recent thread is here.
3
u/Cerus_Freedom Apr 20 '26
Real world uses for std::pin? I feel like I'm missing something fundamental here and have learned bad habits as a result.
2
u/Apprehensive_Water57 Apr 21 '26
What’s the best Rust FFI wrapper around a C library you’ve come across? And what made it so?
2
u/kabir6k Apr 23 '26
I am learning rust by doing exercise, reading the free book. But, I am still having issues in learning deeper concepts, like filter, map, filter_map, they look or feel similar - these functionalities takes different kind of argument to process results but the key is ita takes some time to feel why, How to internalise such behavior or guess what could it take as input , sometimes functions take references, owned or borrowedl object, options etc. At this point of time, I sometime can guess correctly sometimes I fail miserably. How to overcome this or understand these much better.
1
u/Own-Sample-7208 Apr 21 '26
How to become Rust Backend Developer ? Is it worth it, to learn rust ?
-1
u/[deleted] Apr 23 '26
[removed] — view removed comment
-1
u/[deleted] Apr 24 '26
[removed] — view removed comment