this post was submitted on 02 Jun 2023
14 points (100.0% liked)

Programming

13376 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Personally trying to learn more Rust programming, but awesome to see the cadence of their releases. What's been your experience with Rust development?

top 6 comments
sorted by: hot top controversial new old
[–] strudel6242 6 points 1 year ago (1 children)

I gave Rust a shot as part of my move away from Electron and into Tauri. Man, the learning curve is brutal; the language and syntax isn't too bad honestly, but the borrow checker? Ugh, it's like my mum complaining at me back when I was a kid to clean my room all the damn time.

It gets easier as you stumble and look up stack overflow posts over and over, but it's definitely a challenge. That being said, if you stick with it, Rust almost guarantees that your app will never crash, so I'm a big fan.

[–] karce 2 points 1 year ago

My favorite part of Rust is that if it compiles and passes the borrow checker. Like you said, it's almost guaranteed to work like you expect it to. Exceptions being potential panics and logic errors.

[–] LaughingM0n 4 points 1 year ago

So far it's been good. I mostly did .NET development but at my current job I am able to do POCs for just about anything. So recently I rewrote an API from .NET to Rust/actix deploying on K8s. The performance has been pretty amazing.

[–] noxfriend 4 points 1 year ago

I've been studying Rust for a couple years now and working on various bits in my free time but haven't used it professionally yet. I'm a big fan. I mostly started learning it because I'm strongly in favour of correctness, robust languages etc but I've also found that I really enjoy doing lower-level coding and optimisation.

[–] Urbeker 3 points 1 year ago

I've been using Rust as my primary language as a professional software engineer for err 5 years? I think if you come from a background of needing to understand the concepts the compiler enforces but in a language that doesn't check them the learning curve is fine as you already learned those lessons the hard way (Random crashes and days-long debugging sessions) but if you are coming from a higher level language there is definitely a steep learning curve.

I think people love it because after you have had your fight with the compiler, almost always the program only contains logic errors not errors caused by baggage in the language.

[–] spicycape 1 points 1 year ago

I'm getting more and more intrigued by rust every week, and I'm starting to feel like If I don't get started on the language, I might miss the train on what will be one of the most used programming language in the future.

Just joining lemmy, and seing the stack : Rust, actix, Diesel It got me excited to see there is an ORM (diesel)

Not to sure how to get started, I love starting a new language with a project idea, since it gives you an objective that you must reach and overcome all challenges on the way.

Perhaps starting an closed lemmy instance, and try to work on github issues on my end, or add new functionnalities.

Op, how did you get started on your side? What are you excited about the prospect of the language?