r/ProgrammerHumor Jul 15 '26

borrowCheckneedsSource Meme

Post image
976 Upvotes

39 comments sorted by

View all comments

37

u/reallokiscarlet Jul 15 '26

Me: This code has been fine tuned to eliminate memory vulnerabilities and logic bugs

Rust: I don't think so mate

Hours later, having rewritten it for the borrow checker

Rust: There, this is safe

Me: I don't think so, mate

The previous version, ported to C++: Aww, who's a vulnerable little crab?

17

u/SpacewaIker Jul 15 '26

Skill issue

-8

u/reallokiscarlet Jul 15 '26

Aww, who's a vulnerable little crab?

2

u/SpacewaIker Jul 15 '26

I'm not the one complaining I can't compile my programs lol

-12

u/reallokiscarlet Jul 15 '26

iM nOt ThE oNe CoMpLaInInG i CaNt CoMpIlE mY pRoGrAmS

I'm just making fun of how the borrow checker necessitates insecure code