DEV Community

Brayden W ⚡️
Brayden W ⚡️

Posted on

2

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!

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay