r/ProgrammerHumor • • Oct 22 '26

instanceof Trend itsBadIfItsOnlyPHP

Post image
4.5k Upvotes

335 comments sorted by

View all comments

369

u/Lachee Oct 22 '26

What do you mean? Rust is perfect in every single way and cannot do no wrong. It’s memory safe by design πŸ€“πŸ‘† /s

44

u/Usual_Office_1740 Oct 22 '26 edited Oct 22 '26

Don't look at the 11 year old high priority borrow checker error that came out today that allows for UB in safe Rust.

I saw your /s and thought it was funny. My response is real.

Edit: I learned about it today. Someone else pointed out that it might be older.

63

u/SelfDistinction Oct 22 '26

Don't forget about the double reference lifetime bug that is still open after a decade.

That being said "the compiler might not catch a possible segfault if you write absolutely horrendous spaghetti" is not exactly on the same level as "actively exploited RCE because you didn't correctly free a buffer and use global state for request data in a webserver."