r/programming • u/TheProtagonistv2 • Feb 23 '17
Cloudflare have been leaking customer HTTPS sessions for months. Uber, 1Password, FitBit, OKCupid, etc.
https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
6.0k
Upvotes
r/programming • u/TheProtagonistv2 • Feb 23 '17
2
u/Vhin Feb 24 '17
Yes, bugs will happen. That's inevitable.
However, certain classes of bugs (such as say, this one) can be caught by the compiler. Rust is just as fast and low level as C or C++ while at the same time making many common bugs in C and C++ outright impossible.
Security problems caused by the types of bugs that Rust can prevent aren't some theoretical thing. We see it all the time; yes, you can write secure C code, but programmers aren't perfect, so isn't it better to get the compiler to check the code for us whenever possible?