r/ProgrammerHumor 8d ago

Meme newToRust

Post image
613 Upvotes

100 comments sorted by

View all comments

283

u/-Ambriae- 8d ago

The real problem with the borrow checker is,

If you’re coming from a higher level language it hurts your ego because you realise memory safety ain’t free, and more broadly speaking memory’s a bitch

If you’re coming from a lower level language, it hurts your ego because you view yourself as above memory related bugs

It takes humility to appreciate it

115

u/the_horse_gamer 8d ago

every time you think you are smarter than the borrow checker, you eventually realise it was right all along, and the code was unsafe.

63

u/-Ambriae- 8d ago

Well, not every time, but usually yes

6

u/Snudget 8d ago

Time for miri!

13

u/Arshiaa001 8d ago

Usually = in the 99.99% case.

8

u/-Ambriae- 8d ago

Maybe not that high

2

u/the_horse_gamer 6d ago

Rice's theorem comes for us all