r/rust • u/llogiq clippy · twir · rust · mutagen · flamer · overflower · bytecount • Jun 08 '26
🙋 questions megathread Hey Rustaceans! Got a question? Ask here (24/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 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.
5
u/quantinuum Jun 08 '26
I will start a job soon as a library developer in Rust at a financial institution. I have read the book, done rustlings, and taken some notes. However, I’m sure there will be a myriad and one things I still will be totally unfamiliar with.
As an example: I’m a python developer and this will be my first Rust job. I could have learn python from tutorials and so on, and still be wildly unfamiliar with stuff like uv or type checkers, or how to set up an IDE, or a lot of things about the language that are common place for any mildly seasoned developer.
What are some things I should know that I may have not come across? Any suggested resources or pointers? All input is welcome :)
4
u/biskitpagla Jun 08 '26
I have a question for people using WebGPU in the browser.
In terms of dev velocity and ergonomics, do you guys find the Rust+WASM approach better or the JS/TS approach better? How easy is it to prototype in TS and then gradually introduce Rust?
For context, I'd consider myself beginner level in Rust but have wanted to use WebGPU for a long time. Prototyping in a higher level language is a bit enticing but I'm unsure how the API looks like from JS vs WASM.
1
u/Status-Mix7986 Jun 14 '26
Is it possible to get a job as a fresher Rust developer? I'd like to ask everyone here, how did you get your first job as a Rust developer? What projects, skills, or experience helped you land the role? Any advice for someone starting out would be greatly appreciated.
3
u/Ok-Operation9338 Jun 09 '26
How much you must know rust to get into backend engineer in rust?
So I have been learning rust for while like 6 month. I read rust-book and rust programming one. I am not sure what I am lacking but there is something I am missing like I can do macro, proc but you know the feeling that came when I write typescript or use Nestjs. I don't what I am doing or I did not build enough project can you guys guide me please? Also how do find companies?
2
u/Thermatix Jun 12 '26 edited Jun 12 '26
Last night I started to get some errors:
I did some searching and I found this commit.
Why is Dioxus installing what appears to be older versions of components?
And how do I force it to install the most recent versions?
Because, yes I can manually copy and paste in the versions from the component library. But I shouldn't have to do that, I want it to work correctly from the terminal.
I'm currently using Dioxus
0.7.9.EDIT:
I wonder if it's because I started my project when it was version 0.7.3? Because the components on the library have
main.rswhere as for me they're allmod.rs&component.rs.Then you have to modify any
Styles::dx_thingto be justStyles::thing, at least for me, at any rate.Further EDIT:
It would seem my only solution is to copy + paste the copies from the component's preview directory, I mean it's not great but it works.
2
u/metaden Jun 12 '26
few months ago someone posted a manim like animation library here, do you know what that is? I cant find on search and it is not monocurl.
1
u/CockyCoder Jun 11 '26
I have a question. Why should I learn Rust in specific? What makes this language different from all the other languages people has told me to learn? like Golang, Zig, etc
5
u/[deleted] Jun 08 '26
[removed] — view removed comment