this post was submitted on 14 Mar 2024
1283 points (98.5% liked)

Programmer Humor

19488 readers
1290 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

You're missing the point. Tools are different. Trying to learn and use rust by writing unsafe bubble sort is pointless. Use it to actually accomplish something and you'll find out just how amazing it is.

Using the ecosystem that exists to be productive and not have to think at all about whether what you're doing is correct is the point. It catches the subtle errors for you and lets you use the powerful libraries like clap for command line parsing, tokio, etc.

[–] [email protected] -1 points 7 months ago* (last edited 7 months ago) (1 children)

I wasn't being that picky, and I was using the ecosystem. Rust just has lousy compiler warnings.

I know dozens of languages, so I don't mind risking looking dumb when I say "this tool isn't very good yet".

Rust's compiler, considering what it asks for, isn't good enough at guiding the developer toward those asks. It actively wastes the one crucial low-supply computing resource: developer time.

I could have figured it out, if I had to. But I didn't have to. I moved on to the next interesting language to try out. It was goLang, and it had isn't own bullshit, but it wasn't as bad as Rust.

I've written in Haskell and Brainfuck. I don't mind esoteric languages.

But Rust presents itself as a solid general purpose pragmatic development tool, which is great to strive for, but it wasn't there yet, last time I gave it a chance.

I want Rust to succeed in replacing Python, because the world would be better off with better security defaults. But Rust had not, last I checked, attracted the necessary usability specialist contributors, to have any chance at that goal.

Edit: I no longer want Rust to replace Python. Y'all got a problem presenting yourselves, kids. It's going to hurt your language adoption rate.

Edit 2: And get off my lawn!

[–] [email protected] 0 points 7 months ago (1 children)

Rust just has lousy compiler warnings.

You're the only person I've ever heard this from. Rust's compiler warnings are amazing. Like 2nd to none

[–] [email protected] 0 points 7 months ago

It's very possible it's improved since I tried it last. I'll put it back on my list to give it another go.