Starting Rust + WebAssembly - Any Tips or Wisdom?

I’m just getting started on my journey with Rust — and wow, it already feels like opening a treasure chest of possibilities. I’m especially excited about combining it with WebAssembly to build applications that are secure, fast, and built to last.

My dream is to create something that stands strong not just today, but for decades. I care deeply about safety, maintainability, and writing code that future-me (and others!) won’t be afraid to touch. :sweat_smile:

That said… it’s a bit overwhelming at times! Rust has a learning curve, and I want to do it right. So I’m reaching out with open hands (and an open heart :blue_heart:) to this awesome community:

  • What resources really helped you when starting Rust?
  • Any common mistakes or traps I should look out for?
  • How do you approach writing Rust code that’s clean, safe, and future-proof?
  • What’s something you wish you knew early on?

More than anything, I’d love your blessings and encouragement as I take these first steps into a new world. This feels like the beginning of something big, and I’m so excited to learn and grow alongside all of you.

Thank you for being here
Looking forward to your stories, advice, and Rusty wisdom!

An Aspiring Rust Developer,
Aman Chourasia

Writing code that lasts for decades is less about making it secure and fast, and more about winning the proverbial lottery. No matter what language or technology you use, there's a pretty good chance it won't last decades, even if only because some other (possibly worse) software found wider adoption than yours.

That being said, it's still worthwhile to invest in the longevity of your software. My (maybe obvious) advice would be to avoid all the fancy new stuff: you can never tell what will stand the test of time, so don't gamble by shackling yourself to volatile software. Instead, go for the older, less flashy, sometimes worse software, that you know won't be going anywhere soon.

1 Like