this post was submitted on 26 Oct 2023
31 points (87.8% liked)

Rust Programming

8190 readers
18 users here now

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] technom 15 points 1 year ago (2 children)

The problem is everyone shilling someone else's personal opinion as if it is a fact. I use Rust. I have no difficulty iterating or refactoring (did that just now). Granted, you are under no obligation to take my word. But why would someone's blog post be more authoritative than my own experience?

[–] [email protected] 4 points 1 year ago (2 children)

I’m glad you enjoy it. If you find the blog to not fit within your world experience no one is saying you need to take it otherwise. However the author’s take did resonate with me

The “problem” (as you put it) is that people get emotionally invested in their language of choice. Instead of just accepting that there will always be as many languages (and styles of language) as there are types of people

Rust is great! I’m glad people like it. But for me it will always be painful and that slows me down. A slow developer is a hungry developer

People can like different things y’all

[–] robinm 4 points 1 year ago (1 children)

I can totally understand the iterating speed due to higher cognitive load of a statically typed language, and non instant compilation.

However I am very surprised about your refactoring experience. For me Rust is at least in a league of its own. In python/js I am terrified that I could break some unknown parts of my code whenever I touch anything. In C++ I fear that I just broke an invariants and made something UB. In all those languages, I expect regressions when I'm refactoring. But in Rust, even for large scale architecture changes if it compiles I'm quite certain that it's going to be easy to validate and often works the first try. What point points do you enconter that make your experience sub-optimal ?

[–] [email protected] 1 points 1 year ago

@robinm that’s the point. Refactoring in Rust is safe. You can change a small module in a project and as long as you don’t fuck up the logic you can be sure, that if it compiles, it will work. I used C/C++, QML/JavaScript and Python. For me personally Rust provides the best workflow to iterate fast and write safe code.

[–] [email protected] 0 points 1 year ago

@tdawg @technom You are spot on. #Rust is for perfectionists.

[–] Anders429 2 points 1 year ago

I'm right there with you. I've been using Rust for years. If anything, Rust has increased my ability to iterate and refactor.