I think that sort of misses the point of the criticism. It's funny that unsafe gets used so liberally. Maybe in every part of a C++ program where there would be a security bug, the equivalent Rust program uses unsafe and has the same bug.
-
-
- End of conversation
New conversation -
-
-
Good thing C++ avoids that specific criticism by not having an `unsafe` keyword.

- End of conversation
New conversation -
-
-
I love that whole "if Rust allows unsafe code in any form then obviously the whole thing is ill-conceived and we are better off having NO SAFETY AT ALL!"
You should embrace it as a comically literal example of a false dichotomy! -
I find that the idea of people dismissing "unsafe" code in Rust is a bit weird. There's cases where it makes sense to use. You just have a lot of tests to write to prove the code won't explode.
End of conversation
New conversation -
-
-
I really really REALLY hate HLLs that are supposed to be safe but where all the useful libraries are just FFI wrappers around C and C++ libs. Looking at you, Python.
-
I don't care if you have to write the F'in DCT, FFT, FIR filters, GUI toolkit, X protocol, etc. in Python. Do it or admit you're using a broken Frankenstein language. And if it's too slow, fix the language implementation.
- 5 more replies
New conversation -
-
-
Who issued this criticism? It sounds hilarious.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Ada is still one of the safest.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.