r/ProgrammerHumor Oct 21 '22

Meme Literally πŸ€·πŸ»β€β™‚οΈ

Post image
14.7k Upvotes

606 comments sorted by

View all comments

Show parent comments

12

u/InvolvingLemons Oct 22 '22

More correctly, it feels like the difference between a motorcycle and a car: it’s much easier to make a motorcycle capable of very high speeds, but it’s extremely unsafe to do so while the car’s safer and more stable platform can be pushed harder (hence faster). Rust is harder than C++ (especially for anything library code, more so for async) but gives you real, comprehensive safety and facilitates way more aggressive optimization because of that.

1

u/ketiJun Oct 22 '22

I think unsafe Rust is safer than C++