this post was submitted on 02 Jul 2026
-27 points (37.1% liked)

Programmer Humor

32158 readers
749 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 3 years ago
MODERATORS
 

BTW I think some anti-Rust people are more annoying than the worst Rust evangelists - seen some of them calling people not using Rust as "murderers", because "memory leakage can kill at the right time" - but that's due to them being evangelists to right-wing politics.

you are viewing a single comment's thread
view the rest of the comments
[–] jjj@lemmy.blahaj.zone 6 points 5 days ago

Rust is often treated like it has a split between mutable and immutable state, but it's really a split between unique and shared state. Shared state can be mutated if certain invariants are held, which types that provide "interior mutability" as its called enforce.

https://doc.rust-lang.org/reference/interior-mutability.html