this post was submitted on 30 Jul 2024
104 points (96.4% liked)

Rust

5749 readers
8 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
[–] Ephera@lemmy.ml 41 points 1 month ago (4 children)

the port does not have any immediately benefits to end-users or gives us any new special features. However, it improves the future maintainability and bug-fixing capability of the dev team compared to the C++ base.

I remember them also specifically talking about an issue regarding asynchrony. If I remember correctly, it was that their current job system doesn't actually execute background jobs in parallel. They even had a massive pull request ready to fix this in C++, but did not feel confident in it not introducing a ton of bugs.

But the most important reason is fun. Fish is a hobby project. The core team wanted to switch to Rust, because it would be more fun. This also resulted in tons of new contributors suddenly offering help. So many people trying to find "rational" explanations like you'd expect them from a company, when completely different dynamics apply in a volunteer project.

[–] asdfasdfasdf@lemmy.world 20 points 1 month ago (2 children)

What's interesting to me is that IMO Rust is fun because of legit, pragmatic benefits. E.g. I don't think debugging runtime errors is fun. Seeing all the compile time stuff Rust catches is fun for me. My employer doesn't care what's fun, but they do care about me shipping features instead of bugs, so we're kind of on the same page.

[–] ProtonBadger@lemmy.ca 16 points 1 month ago

Yeah, I’ve done C++ for a couple of decades. So much less time is spent debugging with Rust, I love it. We have powerful processors and compilers, they’re meant to do tedious work for us, might as well let them do more to ensure “correctness” for us.

Besides I love the simple things like Option and Result.

load more comments (1 replies)
load more comments (2 replies)