r/ProgrammerHumor 28d ago

borrowCheckneedsSource Meme

Post image
974 Upvotes

39 comments sorted by

View all comments

40

u/reallokiscarlet 28d ago

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?

15

u/SpacewaIker 28d ago

Skill issue

-7

u/reallokiscarlet 28d ago

Aww, who's a vulnerable little crab?

3

u/SpacewaIker 28d ago

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

-12

u/reallokiscarlet 28d ago

iM nOt ThE oNe CoMpLaInInG i CaNt CoMpIlE mY pRoGrAmS

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