Which field in Rust is better to start with?

hi guys, actually I was considering which field would be better to start learning and work with, actually I know the core of Rust and basic concepts of Rust, but I was wondering about which field to start with...

I would appreciate your experiences and helps :heart:

I think starting with String will be the right choice. String are based on all fundamental concepts of Rust.

Rust is a general-purpose programming language, so it's up to you to decide which field attracts you the most.

If you want a suggestion, I would say to give it a try to embedded software.

hmmm yeah man, actually I meant that I know the Rust itself, but you know, my question was something like the field like: backend, embedded or ...

yeah, actually of course the embedded programming was one of the things in my mind, actually as another question, do you know which fields have more probability to get hired or at least earn money from it

Rust is a multipurpose language, it can be used mostly for everything. Probably first you need consider areas where Rust features as speed, small footprint, soundness are critical. For example, I use Rust for high performance servers.

CLI is a fun part to play with. If you get motivated you can jump to something like ratatui for tui apps to resurrect the ncurses vibes of the 90s.

Game development with bevy is fun, but it requires some experience with rust (bevy uses just about every feature of the type system).

A lot of rust and programming skills carry over between fields too, so doing one field doesn't exclude the others.

Wouldn't it be more effective to check directly with companies that offer Rust jobs to see what they're looking for? Of course, you can always build your own “brand” and position it in a way that gets you enough freelance work. But if your goal is really to find a full-time position, you should focus on what companies are looking for. However, most companies don’t typically hire “Rust” developers directly—unless they’re looking for student jobs or you already have 10 years of professional experience in this field. Most are looking for developers who can quickly get up to speed or who are generally enthusiastic about this field.

Just pick a field you're most interested in.

For example, for quite some time I was interested in compiler development and writing a small compiler was my programming language benchmark of sorts: if it's easier to write it in the language I'm learning compared to the languages I already know, it's probably worth putting serious effort into. That's how I acquired most of my Rust knowledge, being nudged to use most of its features, especially enums and pattern matching.

Now that I'm very comfortable with Rust, I'm writing a particle system based physics simulation that runs on GPU just for fun and continuing to master the language by using more concurrency and FFI. The point is to have fun, because that way it's much easier to dive head first into a problem, put in the hours and gain deeper knowledge and understanding over time.

If you're not looking for a Rust job at the moment, it's a perfect opportunity to try different fields and see which one you're most enthusiastic about. CLI tools for minor personal automation tasks is a great area to start with: it's not hard at all to write grokkable and concise code these days compared to languages like Python or Bash, and you get to use many of Rust's features.

Regardless of the field you end up picking, I suggest to use concurrency where possible, it's surprisingly easy even with the standard library, let alone with crates like rayon and crossbeam.

hmm yeah CLI is one of those which is good to think about :grin::grin:

actually from the things which all of you dears honored me to share your experiences, I just got something that: try to do things fun and enjoy while you are programming...

actually of course you are right as well, but I was wondering if there was a field with more job opportunities :sweat_smile:

Pretty much anything. In my little company we use Rust in embedded systems and server side web servers and other services. Also desktop apps, command line and GUI. Pretty much the only place weldon't use Rust is in the browser where using Javascript is still easier (Unless you have some serious computing to do in the browser when in becomes worth the hassle of compiling Rust to WASM.

All the news I get nowadays is that thanks to AI jobs for junior software people are all most impossible to find. I have no idea how true that is and it likely depends where you are. Rust still being a fairly new language makes it even harder.

If you really want a job in software be prepared to learn whatever languages are used by employers around you. As well as Rust of course :slight_smile:

e.....I think it's a good question​:thinking:.

I think you can try something like Game(Bevy or ggez), Web(Wasm) or like CLI(std::fs)......

In short, you should try something you like(The program belongs to you!)

actually first thanks for you answers thats my honor to hear them, second: I liked this part of your answer LOL

actually yeah, I'm sure that whatever you enjoy can lead you to the thing which you want