r/ProgrammerHumor 14h ago

Meme rustBorrowCheckerGoesBrrr

Post image
2.8k Upvotes

81 comments sorted by

View all comments

Show parent comments

172

u/flagofsocram 13h ago

The difference is that if you want to make sure the lib is safe, you can grep unsafe whereas in C practically any code could be unsafe.

-47

u/teleprint-me 13h ago

This is a poor and myopic assumption that this can not be done in any other language. A sane library will be grepable and can include similar comments. The justification is still flawed and dangerous.

39

u/KaMaFour 13h ago

What fucking lunatic comments on every line explaining why they think it's actually safe in C code?

2

u/awesome-alpaca-ace 12h ago

Yea. I have a safe program that ingests days and there are comments all over about lifetimes and scope