this post was submitted on 08 Jun 2025
810 points (97.1% liked)

Programmer Humor

26817 readers
3060 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] d_k_bo@feddit.org 34 points 4 months ago* (last edited 4 months ago) (1 children)

Rust would be some borrow checker compile error like

borrowed data escapes outside of associated function
argument requires that `'1` must outlive `'static`
[–] jumping_redditor@sh.itjust.works 0 points 4 months ago (1 children)

you can still segfault in rust iirc

[–] jenesaisquoi@feddit.org 1 points 4 months ago (2 children)

Not in safe Rust. Only if you explicitly tell the compiler "I got this, don't worry" but then fuck up.

[–] jumping_redditor@sh.itjust.works 0 points 4 months ago

I guess they fixed the weirdness involving calling main later in the program