DEV Community

Brayden W ⚡️
Brayden W ⚡️

Posted on

Learning Rust 🦀 and making a Magic 8 Ball program!

Over the past couple of weeks, I've been wanting to expand my knowledge and to become more valuable as a developer.

Well, I'm pretty decent at Frontend already... I guess I should try out the backend of things!

After asking my friends for advice and for looking on different online forums, I've decided to go with Rust! 🦀

Why did I choose it?

  • High performance!
  • Low memory consumption
  • It's not too hard to learn (Yes, I lied. I know a little Python too so I know what I'm getting into.)
  • Great for system-based ops
  • Nice-to-have for backend experience
  • I've always wanted to make an awesome CLI!

So... after a couple hours of learning the fundamentals of Rust, I created my first project!

A Magic 8 Ball program!

https://github.com/BraydenTW/8ball-rust

Terminal shot

I would appreciate it if you gave the repo a ⭐ and some feedback in the comments below!

Thanks so much for your help. I can't wait to learn more!

Top comments (2)

Collapse
 
shadowtime2000 profile image
shadowtime2000

Well, I'm pretty decent at Frontend already... I guess I should try out the backend of things!

Well, Rust is kind of like JS. It isn't stuck in a certain spot in the stack. It could be used on the frontend with WASM (see Yew), for CLIs (see ClapRS), on the backend (too much to put here), and for like programming on devices that are small and have a limits on them.

Collapse
 
braydentw profile image
Brayden W ⚡️

Yep, one of the reasons why I decided to try it out.