810
race conditions (lemmy.zip)
submitted 2 weeks ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 15 points 2 weeks ago

rust errors are funny if you don't know rust

[-] [email protected] 12 points 2 weeks ago

News at Ten: Borrowed Data Escapes Outside of Associated Function

[-] [email protected] 8 points 2 weeks ago

Those also happen to be errors you'd typically run into, if you don't yet really know Rust...

[-] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

I do run into them even though I use Rust for ~3 years now, but only in non-obvious cases, e. g. when all references to the borrowed data are dropped before the end of the function.

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

Programmer Humor

24450 readers
57 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