> Rust is a great tool for writing safer programs, but it won't defend you from many if not most DoS attacks if you're not careful
Just want to stop by and point out "behavior not considered unsafe": https://doc.rust-lang.org/reference/behavior-not-considered-...
I have a simple phrase I use to explain this. Rust tries to give you memory safety. It does not imply nor check for correctness.