this post was submitted on 02 Jul 2023
1 points (66.7% liked)

Rust

5938 readers
1 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ExistentialOverloadMonkey@programming.dev 0 points 1 year ago (7 children)

Why is Rust-based a feature? I don't care how your tool is built, I care for what it can do and how usable it is.

[–] traches@sh.itjust.works 2 points 1 year ago (6 children)

The rust language is designed to prevent entire classes of bugs which are common in other languages, so in theory rust code should be less buggy and more "correct" for the same amount of effort.

[–] RangerHere@programming.dev 0 points 1 year ago* (last edited 1 year ago) (1 children)

I love Rust. Although I agree with everything else, I would definitely not say "same amount of effort".

[–] snowe@programming.dev 1 points 1 year ago (1 children)

I’ve been trying to add features to the site by modifying lemmy and holy cow I completely forgot just how difficult Rust is, especially with hardly any documentation. It’s taking me hours to do something that would take 20 minutes in Kotlin or 5 in Ruby. You get a lot of safety but it does come at a cost.

I’m still enjoying it though, but it is making my head spin.

[–] keef@programming.dev 0 points 1 year ago (1 children)

Yeah its definitely a bit of a leap to start to grasp. I've been working with rust for a little but still consider myself a baby but damn is it a fun thing to invest into. So many layers and interesting ideas to learn

What parts are you enjoying??

[–] snowe@programming.dev 0 points 1 year ago (1 children)

the part where if it compiles it will almost 100% of the time work. Of course, that's not completely the case with some of the database stuff, but pretty much everything else works.

[–] einsteinx2@programming.dev 0 points 1 year ago (1 children)

I feel like I also had the “if it compiles it works” experience with Golang as well, but holy cow is it a much simpler and easier to work with language. I want to like Rust, I really do, but even just the syntax is painful to look at lol.

Also the cult-like community is a bit off putting…never seen anything quite like that for any language…

It does seem to have some genuinely solid benefits though so maybe one day I’ll get into it.

[–] snowe@programming.dev 1 points 1 year ago

Yeah I tried Go and absolutely hated it. Way too many downsides to it as well. I am surprised it grew as a language at all.

load more comments (4 replies)
load more comments (4 replies)