this post was submitted on 25 Dec 2025
58 points (98.3% liked)

technology

24157 readers
362 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ziggurter@hexbear.net 4 points 2 weeks ago* (last edited 2 weeks ago)

Some people say its "safe" and then others dispute that.

It's not safe. It just makes it easier to write safe code. Important difference. Just like when people claim you "can't have a memory leak in a garbage-collected language", they are also full of shit; all you have to do is keep a reference to something you never plan to use again, and you have as bad of a memory leak as in any environment where you can forget to call free/delete.

I'm also using "easier" here with mild sarcasm. Sometimes it's difficult to get the constructs right in Rust so that shit will compile. Once you do, it's less likely you'll do stuff like leak memory than if you get a program in another language to compile. So "easier" is really more like shorthand for "somewhat harder, most of the time, to let your brain worms escape to the runtime stage" (i.e. production).