- Have a deeply recursive function in
- Rewrite it naively in
- Compile with `cargo build --release`
- Notice it is now 10× *slower*

…hmm, that wasn't what I expected!

Wow, the community really is amazing! I posted a fairly beginner question on r/rust just now, and within 10 minutes I got 8 comments—7 of them were attempted solutions, 6 of them were *correct* solutions, and 2 of them had full, running code samples/diffs.

And *none* of them called me dumb or implied I don't know how to program—even though I made a classic beginner mistake (solving ownership issues with excessive use of `clone()` instead of by understating my code better)

@codesections I love the community but can leave the language. Great role model for any other language or community.

@DistroJunkie just curious: what don't you like about the language?

@codesections Just look at all of the trendy languages that have come and gone over the years. Seems like they come and go faster and faster as the years go by. I wish we'd pick one mature universal language and run with it. And stop it with the new versions of languages. If we have to update it (read fix it), it probably wasn't all that good to begin with. Sorry, I've turned this into a rant. I'll stop now.😃

@DistroJunkie
Those are all opinions I can respect, even if I don't entirely agree.

And if your objection is based on change, I can certainly understand not liking a language that's committed to a new release every six weeks!

Of course, I'm coming from the web dev world, and from that perspective, rust seems positively traditional—at least the ecosystem doesn't turn over every ~18 months!

Follow

@codesections I'm not opposed to change with a definite purpose and reason. Change for change's sake, not so much a fan.

To me, the real power of Rust is crates. Fortunately, they have many converts to give them staying power.

Much like buying new trendy golf clubs is not going to improve a bad golfer's game, using the newest trendy programming language is not going to improve a bad programmer's code. Unless they are reusing good code from other programmers.😃

Sign in to participate in the conversation
Fosstodon

Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.